Transcriptional Analysis in Python Imported from R
Project description
<img src=”docs/figs/logo_tp.png” width=400, padding=100>
## Transcriptome Analysis in Python Imported from R ### v 0.1
[![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/fcomitani/tapir)](https://github.com/fcomitani/tapir/releases/tag/v0.1.0) [![PyPI](https://img.shields.io/pypi/v/tapir-rna)](https://pypi.org/project/tapir-rna/) [![Licence](https://img.shields.io/github/license/fcomitani/tapir?style=flat-square)](https://github.com/fcomitani/tapir/blob/main/LICENSE) [![GitHub top language](https://img.shields.io/github/languages/top/fcomitani/tapir?style=flat-square)](https://github.com/fcomitani/tapir/search?l=python) [![Documentation Status](https://readthedocs.org/projects/tapir/badge/?version=latest&style=flat-square)](https://tapir.readthedocs.io/en/latest/?badge=latest) <!– [![Build Status](https://img.shields.io/travis/com/fcomitani/tapir/main?style=flat-square)](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.
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
File details
Details for the file tapir-rna-0.1.0.tar.gz
.
File metadata
- Download URL: tapir-rna-0.1.0.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f5935676c32bc39616bfd4e80bb24d84a57e7242e711ffcb17bbfe4d6ba9b79 |
|
MD5 | b2e56c7b40475f310ece80a96784ae49 |
|
BLAKE2b-256 | a3e74f6b5f88b2a1d7ccef9e4dddb7296d9268c325aeacea98be6c95cd41d193 |
File details
Details for the file tapir_rna-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: tapir_rna-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0a41dce2414156488c1f65821f510fd202b649c6342fe96a42b14b5ed2fd823 |
|
MD5 | ed2106ea9260996b1ace4d5706940e29 |
|
BLAKE2b-256 | 9d9d6f51557e9ef0d115112f20f63f753305a22a68477a71c9e43e94d411b656 |