Skip to main content

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.

Metadata

Release files for atlasapprox-disease 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for atlasapprox-disease 0.1.4
File Size Uploaded Provenance Actions
atlasapprox_disease-0.1.4.tar.gz 8.2 kB Without provenance Details for atlasapprox_disease-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for atlasapprox-disease 0.1.4
File Interpreter ABI Platform Actions
atlasapprox_disease-0.1.4-py3-none-any.whl Python 3 none any Details for atlasapprox_disease-0.1.4-py3-none-any.whl

Total release size: 15.1 kB

Release files / atlasapprox_disease-0.1.4.tar.gz

Download URL atlasapprox_disease-0.1.4.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7d07762dc45758382b7ebdeb4e9e40c153f1f8a4c0e2d79fdbe0509fa7dadb76
BLAKE2b-256 checksum
How to use checksums
87209ded044bf29aed7b1d2e574720b4df07ffa05b2cb7c3e60d4ef35e1c2b13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.9

Release files / atlasapprox_disease-0.1.4-py3-none-any.whl

Download URL atlasapprox_disease-0.1.4-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
781f50654510138921993dc4a6651055da2f8cef9f703db3ea36bff33eced44c
BLAKE2b-256 checksum
How to use checksums
1bc69749066e0f38b23937d5a13629f4ac4d94a1342845c1287ec420b3f29bea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.9

Security for atlasapprox-disease 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page