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.

It's pronounced /ˈskwɪɹl̩//, like the animal.

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.Approximation(
    filename='myapprox.h5',
)

To show a dot plot:

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

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.7.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

scquill-0.2.7-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file scquill-0.2.7.tar.gz.

File metadata

  • Download URL: scquill-0.2.7.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.6.23-1-lts

File hashes

Hashes for scquill-0.2.7.tar.gz
Algorithm Hash digest
SHA256 bee1277166e78a4e9b462f2a445052f178e247518d986bb9021b05c0d5e9ce08
MD5 3bd0325dcaf24b30873a69e9d477e1b8
BLAKE2b-256 1618e07214160c85fe4db065cae66987d63d3283466f99db412800fd07b90105

See more details on using hashes here.

File details

Details for the file scquill-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: scquill-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.6.23-1-lts

File hashes

Hashes for scquill-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 071c467f448e054c589b8378e98bd2776cc23bcf3b949076e54b329fd56a2228
MD5 6bcc6bca4b5bdff378f4fe04a879681b
BLAKE2b-256 8e33f267f636a4c9af73b7bbea3853f25fe2ec7b745986515e7f1820c04ed665

See more details on using hashes here.

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