Cell atlas approximations for diseases, Python API
Project description
Python interface to disease-related cell atlas approximations
atlasapprox_disease is a Python interface designed to provide easy access to disease-related cell atlas data. Built using the cellxgene census as the initial data source and powered by the scquill approximation algorithm, this package enables researchers to explore thousands of datasets efficiently.
The package enables researchers to address complex biological questions across multiple organs, cell types, and disease conditions such as:
- What is the expression of a specific gene in a specific disease across all datasets?
- In COVID-19, what is the differential cell abundance of each cell type between normal and disease states?
- What are the top 20 most differentially expressed genes in kidney disease?
Features
- Differential analysis:
- Compare differential gene expression across diseases, tissues, sexes, or conditions.
- Retrieve differential cell type abundance between disease states.
- Expression & Abundance Queries::
- Retrieve average gene expression levels across multiple datasets
- Compute the fraction of cells expressing specific genes.
- Identify the highest-expressing cell types for a given gene across diseases and datasets.
- Metadata Access:
- Retrieve dataset metadata, including cell types, tissues, diseases, sex, development stage.
- Visualization::
- Generate dot plots to visualize gene expression and detection frequencies.
Installation
To install the package, run:
pip install atlasapprox-disease
Quick start
Initialise the API
import atlasapprox_disease as aad
api = aad.API()
Retrieve Metadata
metadata = api.metadata()
print(metadata.head())
Query differential gene expression
diff_exp = api.differential_gene_expression(
differential_axis="disease",
disease="Diabetes",
top_n=10, # Get top 10 upregulated & downregulated genes
method="delta_fraction"
)
print(diff_exp)
Generate average gene expression
average_exp = api.average(
features="INS,GCK,MAFA,PECAM1",
disease="Diabetes",
include_normal=True
)
print(average_exp)
For more detailed tutorials and examples, please visit the API github repo.
Project details
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 atlasapprox_disease-0.1.4.tar.gz.
File metadata
- Download URL: atlasapprox_disease-0.1.4.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d07762dc45758382b7ebdeb4e9e40c153f1f8a4c0e2d79fdbe0509fa7dadb76
|
|
| MD5 |
5d4bc76cf91c398bd84fccf95f462ebb
|
|
| BLAKE2b-256 |
87209ded044bf29aed7b1d2e574720b4df07ffa05b2cb7c3e60d4ef35e1c2b13
|
File details
Details for the file atlasapprox_disease-0.1.4-py3-none-any.whl.
File metadata
- Download URL: atlasapprox_disease-0.1.4-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
781f50654510138921993dc4a6651055da2f8cef9f703db3ea36bff33eced44c
|
|
| MD5 |
e067fe65cef43abe0c4fe18260542e56
|
|
| BLAKE2b-256 |
1bc69749066e0f38b23937d5a13629f4ac4d94a1342845c1287ec420b3f29bea
|