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.3.1.tar.gz
(19.6 kB
view details)
Built Distribution
scquill-0.3.1-py3-none-any.whl
(26.0 kB
view details)
File details
Details for the file scquill-0.3.1.tar.gz
.
File metadata
- Download URL: scquill-0.3.1.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.6 Linux/6.6.23-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc672971e5a643ef9133630b22ff202dab595564408b68d267c51e76c3304b15 |
|
MD5 | 668c2ca66658b9073fab8db209120a75 |
|
BLAKE2b-256 | 69f6a8562c3dfd5eaac0039bdb004733f0bdd0e7ca8c0a6d15a359b072877082 |
File details
Details for the file scquill-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: scquill-0.3.1-py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.6 Linux/6.6.23-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a662c85d78d9bb86a68978c6cf582f3fd81a70cd521e2d695b452ed5bf9c0ca9 |
|
MD5 | ddb4d885c318166e2034516e9a8fbfea |
|
BLAKE2b-256 | bef16f8de129dead3c98aea9d6b5344f2f29e7c9e97d407e63c9ac0d23a0659e |