Skip to main content

No project description provided

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

st_visium_datasets-0.2.2.tar.gz (108.6 kB view details)

Uploaded Source

Built Distribution

st_visium_datasets-0.2.2-py3-none-any.whl (266.0 kB view details)

Uploaded Python 3

File details

Details for the file st_visium_datasets-0.2.2.tar.gz.

File metadata

  • Download URL: st_visium_datasets-0.2.2.tar.gz
  • Upload date:
  • Size: 108.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.8.15 Linux/6.2.0-39-generic

File hashes

Hashes for st_visium_datasets-0.2.2.tar.gz
Algorithm Hash digest
SHA256 96a89fadef6dbe1f8c5b90ed99f9fa5d6da519e276c76c5c5bb2d250d90c7f36
MD5 31a446981d0cf8e696127f2c325b128d
BLAKE2b-256 cfd81de868f46f17d190f00d98bd03a9c29a10060dde80e587fe7a1f69a92b77

See more details on using hashes here.

File details

Details for the file st_visium_datasets-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: st_visium_datasets-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 266.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.8.15 Linux/6.2.0-39-generic

File hashes

Hashes for st_visium_datasets-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2840df3df57b457ea0a18cf6ac940f96b9255738eff7540bd0d595ff75875daa
MD5 b571d43f5394ee96cf49ab104edf0dba
BLAKE2b-256 e9c4a74d491a20988c42a43e5fc84bacb61d63e9268cbbac91f0e8840483ef74

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page