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.3.tar.gz
(17.4 kB
view details)
Built Distribution
scquill-0.2.3-py3-none-any.whl
(23.4 kB
view details)
File details
Details for the file scquill-0.2.3.tar.gz
.
File metadata
- Download URL: scquill-0.2.3.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 | ea5c3088ec9be6b0cdf03eaf38c70c2c7880bd7e116668dc4ae17cc02af5effb |
|
MD5 | 85861cf4fda9b60d06d86c82d8aa6d15 |
|
BLAKE2b-256 | 12f66a205baa5ac6b363d6d190bce08ddcbc68754017c241a149c0b4f1a0d3ff |
File details
Details for the file scquill-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: scquill-0.2.3-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 | 186b0eef7d1b9a6195a4b8e43f78d20b61ea57b6857af7b2e368aaa851307438 |
|
MD5 | b3900a1fd08c44f1dc54c2b3fb0cd3bb |
|
BLAKE2b-256 | 885f7278ec04b1b6bc08d9199f07805916845c7ab099ec578fcc1a1273c9d639 |