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

Uploaded Source

Built Distribution

scquill-0.2.6-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scquill-0.2.6.tar.gz
  • Upload date:
  • Size: 17.9 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.6.tar.gz
Algorithm Hash digest
SHA256 e4a088f119d312d7dc0a576ac55a811ad34220a3e7eb1f35808a1245ab3bb9b3
MD5 506dec8488d0236fee7601f50ff21202
BLAKE2b-256 b71645ce37a95200e974a41abb57800f68f4a823b3cb343f1f93064f622a8de8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scquill-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 24.1 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 44697c46bb561691b0224834e4de82fe5f2e0c739b5f4cc243de57a847f67624
MD5 c8bca520e4ff1d2cb06d7ab83bb816cd
BLAKE2b-256 7d259adc6365a377466ee34cf96606fb201c044d7c6ef9a204e745ba4b5ded69

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