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.4.tar.gz
(17.4 kB
view details)
Built Distribution
scquill-0.2.4-py3-none-any.whl
(23.4 kB
view details)
File details
Details for the file scquill-0.2.4.tar.gz
.
File metadata
- Download URL: scquill-0.2.4.tar.gz
- Upload date:
- Size: 17.4 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 | b3c13e8eff5c0f3a60bd98743045d227d7821e0591ea662a8a548eb61b42afb3 |
|
MD5 | 398a52e1ca365451a95e0625d15d7363 |
|
BLAKE2b-256 | 850384917b3b422029ac2be8d1afd273b7d5261fa1736a07c8263c8897d1f8ec |
File details
Details for the file scquill-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: scquill-0.2.4-py3-none-any.whl
- Upload date:
- Size: 23.4 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 | a7fa39366cb8e279e60d775d3ea5d33e1238759fa7cddb9168ba1ca406b92a8a |
|
MD5 | 7c512708dd96f6464524d7e5040c1035 |
|
BLAKE2b-256 | 5173da5e49ec7f79ac6861ea9874b796a797c35f4b6f5fe12960d6278a6b74f7 |