<img src=”docs/figs/logo_tp.png” width=400, padding=100>
## Transcriptome Analysis in Python Imported from R ### v 0.1
[](https://github.com/fcomitani/tapir/releases/tag/v0.1.0) [](https://pypi.org/project/tapir-rna/) [](https://github.com/fcomitani/tapir/blob/main/LICENSE) [](https://github.com/fcomitani/tapir/search?l=python) [](https://tapir.readthedocs.io/en/latest/?badge=latest) <!– [](https://travis-ci.com/fcomitani/tapir) –>
tapir is a python 3 package for the analysis of gene expression data. It includes a number of functions for statistical analysis, differential expression and gene sets enrichment analysis.
WARNING: This library is still in active development and we hope to add more options in the future. Please feel free to leave feedback, suggestions or to contribute to this repository.
This library includes
TMM normalization with [EdgeR](https://bioconductor.org/packages/release/bioc/html/edgeR.html)
differential expression analysis with [EdgeR](https://bioconductor.org/packages/release/bioc/html/edgeR.html)
gene sets enrichment analysis with [gseapy](https://github.com/zqfang/GSEApy)
survival analysis with [lifelines](https://github.com/CamDavidsonPilon/lifelines)
immune deconvolution with [MCPcounter](https://github.com/ebecht/MCPcounter)
dimensionality reduction with [UMAP](https://github.com/lmcinnes/umap)
plotting functions for distribution comparisons, heatmaps and gene sets networks.
Detailed documentation, API references and tutorials can be found at this [link](https://tapir.readthedocs.io/en/latest/).
### Dependencies
Besides basic scientific and plotting libraries, the current version requires
` - gseapy - lifelines - rpy2 - seaborn - scikit-learn - statsmodels - umap-learn `
** R, EdgeR and MCPcounter need to be installed independently. **
### Installation
tapir releases can be easily installed through the python standard package manager pip install tapir-rna
To install the latest (unreleased) version you can download it from this repository by running
git clone https://github.com/fcomitani/tapir cd tapir python setup.py install
### Basic usage
Given an input dataset in pandas-like format (samples X genes), the build_dgelist and diff_exp functions will allow you to normalize the samples as TMM and fit a glmQL model for differential expression significance.
from tapir.edger import build_dgelist, diff_exp
dgelist, tmmlog = build_dgelist(input_table) de = diff_exp(dgelist, groups, filter=True)
### Contact us
federico.comitani at sickkids.ca
josh.nash at sickkids.ca
<!– ### Citation
When using this library, please cite
> F. Comitani, J. O. Nash –>
### Contributions
This library is still a work in progress and we are striving to improve it, by adding more flexibility and increase the memory and time efficiency of the code. If you would like to be part of this effort, please fork the master branch and work from there.
<!– Make sure your code passes the travis build tests. –>
Contributions are always welcome.
Metadata
Release files for tapir-rna 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tapir-rna-0.1.0.tar.gz | 18.5 kB | Without provenance | Details for tapir-rna-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tapir_rna-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for tapir_rna-0.1.0-py3-none-any.whl |
Total release size: 38.9 kB
Release files / tapir-rna-0.1.0.tar.gz
| Download URL | tapir-rna-0.1.0.tar.gz |
|---|---|
| Size | 18.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f5935676c32bc39616bfd4e80bb24d84a57e7242e711ffcb17bbfe4d6ba9b79
|
|
BLAKE2b-256 checksum How to use checksums |
a3e74f6b5f88b2a1d7ccef9e4dddb7296d9268c325aeacea98be6c95cd41d193
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6
|
Release files / tapir_rna-0.1.0-py3-none-any.whl
| Download URL | tapir_rna-0.1.0-py3-none-any.whl |
|---|---|
| Size | 20.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0a41dce2414156488c1f65821f510fd202b649c6342fe96a42b14b5ed2fd823
|
|
BLAKE2b-256 checksum How to use checksums |
9d9d6f51557e9ef0d115112f20f63f753305a22a68477a71c9e43e94d411b656
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6
|
Security for tapir-rna 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.