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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: scquill-0.2.10.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.10.tar.gz
Algorithm Hash digest
SHA256 28b427e05f51b8ff9315d6a506a60525ddc7156642959bedb7492b6a1a984405
MD5 0b05359e0119d6d5cd727183f0825912
BLAKE2b-256 22118bc2a592bec8646236f16e50e98cf7199289a54c2a5a01f2ad03a6d8fbf0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scquill-0.2.10-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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 4772d336f3e1f75fe1dc294b5bf54c28dd6059f19edf2eae8ae1ea3d3dcb3647
MD5 fb000c41b49192decdf0e259d85dea5a
BLAKE2b-256 2dbb6e9add4c120941901b461a306e26d6f3c19a4df599f28ffd34e9d873cd46

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