st-visium-datasets
Spatial Transcriptomics Atlas for 10XGenomics datasets in huggingface datasets format :huggingface:
Installation
TODO
Usage
This library provides a common interface for 10XGenomics 'Gene Expression' datasets based on huggingface.
This library provides a single dataset: visium with different configurations
from st_visium_datasets import load_visium_dataset
import torch
ds = load_visium_dataset() # default lodas 'all' config
# or ds = load_visium_dataset("human")
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
torch_ds = ds.with_format("torch", device=device)
# cf: https://huggingface.co/docs/datasets/v2.15.0/en/use_with_pytorch
Availlable configs
| name | number_of_spots_under_tissue | number_of_genes_detected |
|---|---|---|
| all | 344961 | 1651817 |
| human | 192976 | 863878 |
| human-heart | 8482 | 40491 |
| human-lymph-node | 8074 | 48178 |
| human-kidney | 5936 | 18068 |
| human-colorectal | 9080 | 18077 |
| human-skin | 3458 | 18069 |
| human-prostate | 14334 | 68215 |
| human-ovary | 15153 | 77975 |
| human-brain | 27696 | 110543 |
| human-large-intestine | 6276 | 39440 |
| human-spinal-cord | 5624 | 39951 |
| human-cerebellum | 4992 | 17355 |
| human-brain-cerebellum | 9984 | 41163 |
| human-lung | 10053 | 36143 |
| human-breast | 38063 | 217985 |
| human-colon | 25771 | 72225 |
| mouse | 151985 | 787939 |
| mouse-olfactory-bulb | 2370 | 38664 |
| mouse-kidney | 6000 | 57469 |
| mouse-brain | 123254 | 614201 |
| mouse-kidney-brain | 2805 | 19399 |
| mouse-mouse-embryo | 12877 | 38808 |
| mouse-lung-brain | 4679 | 19398 |
Metadata
Release files for st-visium-datasets 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| st_visium_datasets-0.3.0.tar.gz | 107.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| st_visium_datasets-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 372.4 kB
Release files / st_visium_datasets-0.3.0.tar.gz
| Download URL | st_visium_datasets-0.3.0.tar.gz |
|---|---|
| Size | 107.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8144e81e3c7a665afa02e2446292d62d123b010b394788fbd710735fbb5f824d
|
|
BLAKE2b-256 checksum How to use checksums |
8e323ce2811cc5c51b158fd231866b19244c11d9cfe181aef6d83805110a571d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.8.15 Linux/6.2.0-39-generic
|
Release files / st_visium_datasets-0.3.0-py3-none-any.whl
| Download URL | st_visium_datasets-0.3.0-py3-none-any.whl |
|---|---|
| Size | 264.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f5324649e7d035c32453256149377221bca72d1e5f5ee446012c6e0a6295f378
|
|
BLAKE2b-256 checksum How to use checksums |
6c924cf8aa4f1a431698607dbc1b2858b1726ece4f5ea2fc9371a28a031d781d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.8.15 Linux/6.2.0-39-generic
|
Security for st-visium-datasets 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.