Skip to main content

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:

Differential cell type abundance

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:

Differential gene expression

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

atlasapprox_disease-0.1.3.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atlasapprox_disease-0.1.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

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

Hashes for atlasapprox_disease-0.1.3.tar.gz
Algorithm Hash digest
SHA256 21413efb6409d1b7bfc7cb070fae05d896fcefd79e2e6cc92e0d4e05866a7286
MD5 897d419b057822a4d2c25f8cd5f3d9fc
BLAKE2b-256 3aae0cff180796bb14a33217c1a961f751f12762d24d515747cf3eed864bda96

See more details on using hashes here.

File details

Details for the file atlasapprox_disease-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for atlasapprox_disease-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 67f1bd203da61c853769a3f0c3877d940bed85d5f77f60f92549ba19759e40fd
MD5 6f9f4c1b87fd322d9284dac17a820ad5
BLAKE2b-256 baa176d54f0553636f7bcb0242625b2c2cadb1a2666b309a8af34fb43caa3215

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page