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.2.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.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file atlasapprox_disease-0.1.2.tar.gz.

File metadata

  • Download URL: atlasapprox_disease-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 8abb5405431a6c0d61f09d97835b1d3c7bf99952b052370d64ae232a04de182d
MD5 b3d0bdfac25b227570d010302620b103
BLAKE2b-256 fdf6b8206497541f361b0d60b7a8a9e7c49b43011d63d4c68627090af8cac169

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for atlasapprox_disease-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c3b081cc85cba7eb1cbb528d0b5db7d16d169a66d97e9c92e73eb55eca16947c
MD5 5f59553af0248c55ff033ecfdc395eb9
BLAKE2b-256 cbf4b8bfbe7996896d9a7ede0b6ec95afd622e87018907a06fd3a74cb1d4a774

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