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.
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.ApproxAnnData(
filename='myapprox.h5',
)
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.2.tar.gz
(13.8 kB
view details)
Built Distribution
scquill-0.2.2-py3-none-any.whl
(17.9 kB
view details)
File details
Details for the file scquill-0.2.2.tar.gz
.
File metadata
- Download URL: scquill-0.2.2.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.5.5-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8486940bf13806130ae515f40c98591b5479eecae78761d93a8cf10a1eca7491 |
|
MD5 | 5866231724f7b0a0747048f4743822c9 |
|
BLAKE2b-256 | f8a4bd6611e5adf50c6a391330464305509b1ac7bb01e811634b0da8a39ea569 |
File details
Details for the file scquill-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: scquill-0.2.2-py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.5.5-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71258b247d1373c97bc6b2ab5aaa1f8df45467906af2b649296974ff9ef08ba7 |
|
MD5 | a6ba328426964cd5cd0bce211706b789 |
|
BLAKE2b-256 | 134e4eaf933a46360723b0155e6538b4819afc00ebb9869ed88eb8e1ab003638 |