Disease cell atlas approximations, python API
Project description
atlasapprox-disease
atlasapprox-disease is a Python package for accessing approximated versions of cellxgene's disease cell atlas data. This package enables efficient query of large-scale single-cell datasets with reduced memory and computational requirements.
Installation
You can install the package from PyPI:
pip install atlasapprox-disease
Please note: You must have Python >=3.10 to use the high-level API.
Quick start
Example 1: To query differential cell type abundance of the flu disease
# import and create an API object
from atlasapprox_disease import API
api = API()
# make API call
df_cell_type_abundance = api.diff_celltype_abundance(disease_keyword="flu")
# display the result
print(df_cell_type_aundance)
Output:
For more detailed tutorials and examples, please visit the API tutorials site (API tutorials site ).
Example 2: To query the top 5 differentially expressed genes of the flu disease
df_gene_exp = api.api.diff_gene_expression(disease_keyword="flu", cell_type_keyword="blood", top_n=5)
print(df_gene_exp)
Output:
For more detailed tutorials and examples, please visit the API tutorials site.
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.3.tar.gz.
File metadata
- Download URL: atlasapprox_disease-0.1.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21413efb6409d1b7bfc7cb070fae05d896fcefd79e2e6cc92e0d4e05866a7286
|
|
| MD5 |
897d419b057822a4d2c25f8cd5f3d9fc
|
|
| BLAKE2b-256 |
3aae0cff180796bb14a33217c1a961f751f12762d24d515747cf3eed864bda96
|
File details
Details for the file atlasapprox_disease-0.1.3-py3-none-any.whl.
File metadata
- Download URL: atlasapprox_disease-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67f1bd203da61c853769a3f0c3877d940bed85d5f77f60f92549ba19759e40fd
|
|
| MD5 |
6f9f4c1b87fd322d9284dac17a820ad5
|
|
| BLAKE2b-256 |
baa176d54f0553636f7bcb0242625b2c2cadb1a2666b309a8af34fb43caa3215
|