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.8.tar.gz
(18.0 kB
view details)
Built Distribution
scquill-0.2.8-py3-none-any.whl
(24.2 kB
view details)
File details
Details for the file scquill-0.2.8.tar.gz
.
File metadata
- Download URL: scquill-0.2.8.tar.gz
- Upload date:
- Size: 18.0 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 | 7f8f05403304bd78225273c5fa9d66622553113ad802fd12956d8cef718f04a2 |
|
MD5 | b561839f9b046b36e3e815beda263410 |
|
BLAKE2b-256 | 46c83730a62bbe9610062c18c30781f372de224fd8347d0886259a83e6b8e92f |
File details
Details for the file scquill-0.2.8-py3-none-any.whl
.
File metadata
- Download URL: scquill-0.2.8-py3-none-any.whl
- Upload date:
- Size: 24.2 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 | 4e7fbb73d3621ea7345f6b26f9105006f531830c054dc7187e3a679cd624131f |
|
MD5 | 2a820cda5f427fd98350c434de224810 |
|
BLAKE2b-256 | 2a0d6ea50e76e8e304136b52e47f57506a078065789c44ce02181e1c44f9c4c4 |