Skip to main content

Approximate any single cell data set, saving >99% of memory and runtime.

Project description

PyPI version

scquill

Approximate any single cell data set, saving >99% of memory and runtime.

Approximating a single cell data set

import scquill

q = scquill.Compressor(
    filename='myscdata.h5ad',
    output_filename='myapprox.h5',
    celltype_column="cell_annotation",
)

q()

Exploring an approximation

To load an approximation:

import scquill

app = scquill.ApproxAnnData(
    filename='myapprox.h5',
)

To show a neighborhood plot:

scquill.pl.neighborhoodplot(app, ['gene1', 'gene2', 'gene3'])

To show embeddings of cell neighborhoods, similar to single-cell UMAPs:

scquill.pl.embedding(app, ['gene1', 'gene2', 'gene3'])

MORE TO COME

Authors

Fabio Zanini @fabilab

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

scquill-0.2.2.tar.gz (13.8 kB view hashes)

Uploaded Source

Built Distribution

scquill-0.2.2-py3-none-any.whl (17.9 kB view hashes)

Uploaded Python 3

Supported by

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