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.13.tar.gz
(18.3 kB
view details)
Built Distribution
scquill-0.2.13-py3-none-any.whl
(24.6 kB
view details)
File details
Details for the file scquill-0.2.13.tar.gz
.
File metadata
- Download URL: scquill-0.2.13.tar.gz
- Upload date:
- Size: 18.3 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 | 0e01820c13f682911e2846b9ead979537d0308f34984f66618422d314f955244 |
|
MD5 | 890b9d89d4cdd1bd68d6ffd5d56007d6 |
|
BLAKE2b-256 | 365f105eca34e9898fee23afe55cb03a13b219d99b94c4b8ba685b19fbfa0967 |
File details
Details for the file scquill-0.2.13-py3-none-any.whl
.
File metadata
- Download URL: scquill-0.2.13-py3-none-any.whl
- Upload date:
- Size: 24.6 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 | a347f84eaf7db1c1d3a257b3f9db0217f9ad34d66c7d1be783dd4164a8623e95 |
|
MD5 | 9c11502e4166eb3f09476bfa4b2d2dfe |
|
BLAKE2b-256 | d7c497438234f6658633e5d7b6d42dd0cc42268c78a00c7f2b3fb00d263f2d85 |