a package for orthogonal linear separation analysis (OLSA)
Project description
OLSApy
OLSApy: Orthogonal Linear Separation Analysis in Python
- OLSA is an analysis method of omics data to decompose the complex effects of a perturbagen into basic components.
- OLSApy is a package for OLSA in python.
- OLSA can be applied to any kinds of omics data such as RNA-seq, proteome, and so on.
Dependency
- python >= 3.6
- requirements: numpy, pandas, scipy
Setup
pip install olsapy
For conda, please use conda skeleton
Usage
from olsapy import olsa
df = <a dataframe of interest (feature x sample)>
### calculation
dat = olsa.OLSA()
dat.load_df(df)
dat.olsa(accumulation=0.6) # accumulation determines the vectors subjected to varimax rotation
rsm,rvm,ts,contribution = dat.get_res()
### visualization
dat.plot(focus=[<sample names of interest>])
### visualization of already prepared data
dat.plot(rsm,focus=[<sample names of interest>])
Licence
This software is released under the MIT License, see LICENSE.
Authors
Setsuo Kinoshita, Shotaro Maedera, and Tadahaya Mizuno
References
- Sci Rep. 2019 Feb 12;9(1):1824. doi: 10.1038/s41598-019-38528-4.
- http://www.ilincs.org/ilincs/
Bug Report
If you would like to report any bugs about olsapy, don't hesitate to create an issue on github here, or email me:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file olsapy-2.0.1.tar.gz.
File metadata
- Download URL: olsapy-2.0.1.tar.gz
- Upload date:
- Size: 5.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
182615b9053927317af2c637e5eab1135ca449d56b7cca8ed0f6a836f820fc42
|
|
| MD5 |
29f5707a7c408e5b07381370ea62bb17
|
|
| BLAKE2b-256 |
4627a02249bfbd83b55d0dfb55add57ecd909d823f6ff82917fdca62771991eb
|
File details
Details for the file olsapy-2.0.1-py3-none-any.whl.
File metadata
- Download URL: olsapy-2.0.1-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b5e55736e1ca8d6cfcd472abdcba1d5e20d629e8adfa97995aabfada45c84a6
|
|
| MD5 |
7838d753abbd6505398dc32449c65a83
|
|
| BLAKE2b-256 |
9e92d4d4b6413c948488d68a783e0186324ffccd9d5a2b2c2f803eefee3e14d4
|