Approximate any single cell data set, saving >99% of memory and runtime.
Project description
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
Release history Release notifications | RSS feed
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.11.tar.gz
(18.2 kB
view details)
Built Distribution
scquill-0.2.11-py3-none-any.whl
(24.5 kB
view details)
File details
Details for the file scquill-0.2.11.tar.gz
.
File metadata
- Download URL: scquill-0.2.11.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1266907a2e80f61c7c40095e182aff7d9aaea98434cff30e11850f6ee8368e8b |
|
MD5 | b11055385797ff06806393a8bd13cbf9 |
|
BLAKE2b-256 | 8c57d86dceccec5e310e67e4317624e22857739bf2758d2aa02fb8bf8179bdc5 |
File details
Details for the file scquill-0.2.11-py3-none-any.whl
.
File metadata
- Download URL: scquill-0.2.11-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05de230fa189ac611014ad46e5fa63cb1d810c1cde92098ad2e8bc6058e35217 |
|
MD5 | c86bf0bbe8a6ae4fbf2e3bbc0d3f66d3 |
|
BLAKE2b-256 | 0c5a80bced2855a05c29bdfeb0d85c0d8a13da510b8148da3a62e807d06d368b |