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

Uploaded Source

Built Distribution

scquill-0.2.12-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scquill-0.2.12.tar.gz
  • Upload date:
  • Size: 18.2 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.12.tar.gz
Algorithm Hash digest
SHA256 abe97b9eb8edefc9cbb5e2f47350ecd2ea92aab84a2fb075e730bb8572260574
MD5 cbbff6e74b706e223952354a90997039
BLAKE2b-256 54620dcbbec52346e0970aa9b90f355765edaf6ce759f8169b1a2a5c6eeccd95

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scquill-0.2.12-py3-none-any.whl
  • Upload date:
  • Size: 24.5 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 bbed534b3cd79288b32915d52b57b45f595cb93a50fb0990a144f45cada8829d
MD5 a1419f8a3911c1493b654baa0ed41f8f
BLAKE2b-256 2b55b6606d3cd44b4fde4fe08dc68d3b2610e3b6508bed77971958c048d74359

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