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.0.tar.gz
(19.1 kB
view details)
Built Distribution
scquill-0.3.0-py3-none-any.whl
(25.5 kB
view details)
File details
Details for the file scquill-0.3.0.tar.gz
.
File metadata
- Download URL: scquill-0.3.0.tar.gz
- Upload date:
- Size: 19.1 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 | 9ecaf487177f3b98576cf8f8648468b4b9a3bb47ac963d129f8ecb99763e85a9 |
|
MD5 | 60fac30c1d693de3056a946120b22706 |
|
BLAKE2b-256 | de54d3aa884bbfc8a15a733b867ee29a2924722a744108ba733119b349c6525f |
File details
Details for the file scquill-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: scquill-0.3.0-py3-none-any.whl
- Upload date:
- Size: 25.5 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 | bd3529a600964b90ae374210e1f9506e7740a026cf04a099fc3c8f450de90612 |
|
MD5 | 52e091bface841d6fafdc9bf93aac73a |
|
BLAKE2b-256 | 8f35ebdc4bd7d6ae6a2076b8eb8b249b69a692cce5492f904d3ccfd22287de57 |