enrichrpy-0.1.0
توضیحات
A tool for gene set enrichment (GSEA) plots and analysis in Python. Built on top of Enrichr API.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | enrichrpy-0.1.0 |
| نام | enrichrpy |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Erik Storrs |
| ایمیل نویسنده | epstorrs@gmail.com |
| آدرس صفحه اصلی | https://github.com/estorrs/enrichrpy |
| آدرس اینترنتی | https://pypi.org/project/enrichrpy/ |
| مجوز | - |
# enrichrpy
A tool for gene set enrichment (GSEA) plots and analysis in Python. Built on top of Enrichr API.
## Installation
enrichrpy is easily installed with the pip package manager.
Python>=3.6 required.
```bash
pip install enrichrpy
```
## Basic Usage
A collab notebook with basic usage examples is available [here](https://colab.research.google.com/drive/11PIe5KTvoFXoCzNeqpMOFRu9HU0js3Af?usp=sharing).
Note, all plots generated by enrichrpy are created by altair, so they can be easily downloaded as either .svg or .png files from your browser.
#### Enrichr GSEA statistics
```python
import enrichrpy.enrichr as een
import enrichrpy.plotting as epl
genes = [
'TYROBP', 'HLA-DRA', 'SPP1', 'LAPTM5', 'C1QB',
'FCER1G', 'GPNMB', 'FCGR3A', 'RGS1', 'HLA-DPA1',
'ITGB2', 'C1QC', 'HLA-DPB1', 'IFI30', 'SRGN',
'APOC1', 'CD68', 'HLA-DRB1', 'C1QA', 'LYZ',
'APOE', 'HLA-DQB1', 'CTSB', 'HLA-DQA1', 'CD74',
'AIF1', 'FCGR2A', 'CD14', 'S100A9', 'CTSS'
]
df = een.get_pathway_enrichment(genes, gene_set_library='GO_Biological_Process_2021')
df
```
<img src="images/datatable.png">
#### Enrichment bar plot
```python
epl.enrichment_barplot(df, n=20)
```
<img src="images/barplot.png">
#### Enrichment dot plot
```python
epl.enrichment_dotplot(df, n=20, hue='Z-score', log=True)
```
<img src="images/dotplot.png">
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl enrichrpy-0.1.0:
pip install enrichrpy-0.1.0.whl
نصب پکیج tar.gz enrichrpy-0.1.0:
pip install enrichrpy-0.1.0.tar.gz