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

Uploaded Python 3

File details

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

File metadata

  • Download URL: atlasapprox_disease-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 b580cacb3ccaa3afb055b5ef3fdf62b343e354c5f8fd05817b0d4ff9a5bd66a5
MD5 ebc147c7d5a025772a3035234d6162a5
BLAKE2b-256 2f2d3199d0342763aed70144889e39c3609eddbdab1973eae78976f6c899e17c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for atlasapprox_disease-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a3fd6989a5e8977a2820626f001d756d53dadb58480a4c094b7311d966bc941d
MD5 9335f7cc4db497d1d697082d2e414f2a
BLAKE2b-256 28dc1c87f472b99e4613b7c421f5b6ff1529b90ff502977498f1d80064f6c59f

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