Skip to main content

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


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:

Metadata

Release files for olsapy 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for olsapy 2.0.1
File Size Uploaded
olsapy-2.0.1.tar.gz 5.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for olsapy 2.0.1
File Interpreter ABI Platform
olsapy-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 MB

Release files / olsapy-2.0.1.tar.gz

Download URL olsapy-2.0.1.tar.gz
Size 5.9 MB
Tags Source
SHA-256 checksum
How to use checksums
182615b9053927317af2c637e5eab1135ca449d56b7cca8ed0f6a836f820fc42
BLAKE2b-256 checksum
How to use checksums
4627a02249bfbd83b55d0dfb55add57ecd909d823f6ff82917fdca62771991eb
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / olsapy-2.0.1-py3-none-any.whl

Download URL olsapy-2.0.1-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b5e55736e1ca8d6cfcd472abdcba1d5e20d629e8adfa97995aabfada45c84a6
BLAKE2b-256 checksum
How to use checksums
9e92d4d4b6413c948488d68a783e0186324ffccd9d5a2b2c2f803eefee3e14d4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page