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.5.tar.gz
(17.6 kB
view details)
Built Distribution
scquill-0.2.5-py3-none-any.whl
(23.6 kB
view details)
File details
Details for the file scquill-0.2.5.tar.gz
.
File metadata
- Download URL: scquill-0.2.5.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.6.23-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dc1caa12f9440ce2ad441ccfa1bf392babb9ca14412eec5711c9520d75cc3d8 |
|
MD5 | 79dee894bbae7d99b75224cce602827e |
|
BLAKE2b-256 | 89c8ef04a137302705142f4d4a7248f9f3a3ab1dde33bb3d8e0a0c700f30f861 |
File details
Details for the file scquill-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: scquill-0.2.5-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.6.23-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e289ffa0f2c8c64e461d0241630bcf5726cde2bc954ede8de61675655a56a749 |
|
MD5 | 0a613f42481607dd09fe7a571dfc0d46 |
|
BLAKE2b-256 | d32db85b2862fad21901fd2ba32129de4a79e9354e26ef76a9c854dfb70b6e15 |