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

Uploaded Source

Built Distribution

scquill-0.2.9-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scquill-0.2.9.tar.gz
  • Upload date:
  • Size: 18.1 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.9.tar.gz
Algorithm Hash digest
SHA256 25d683b681f3536ab4e2e4965cb575dd988a3fdf89f51aedd35ee1cccb8ef2f6
MD5 ed05bf2e4d811d8f9e4174ad5046a3de
BLAKE2b-256 a1246e6247d629b1afc80ea863fef6fc6bda4a99f7c713b5616d4dce275e4680

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scquill-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 24.4 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 61a30c764c88aec4e4ab81b96a2a96d8d3b4f351d44bbf7d4bf653b65912f349
MD5 4a6a9f1de8c4a41d967c27e6d686c65e
BLAKE2b-256 5400070138b392062f894274e770bee8abcf7cf9bacba8cea4ad9a5428501bfc

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