| Title: | SpatialData datasets |
|---|---|
| Description: | A companion package to access scverse-curated example SpatialData stores. The datasets span spatial omics technologies such as Visium, Visium HD, Xenium, MERFISH, MIBI-TOF, and imaging mass cytometry, and are distributed as zipped Zarr stores through the Bioconductor bucket on the NSF Open Storage Network (OSN) or the scverse spatialdata sandbox. Available datasets and their metadata can be listed, and each dataset is downloaded once, cached locally with 'BiocFileCache', and read into R as a SpatialData object via 'spatialdataR' package. |
| Authors: | Helena L. Crowell [aut, cre] (ORCID: <https://orcid.org/0000-0002-4801-1767>), Artür Manukyan [aut] (ORCID: <https://orcid.org/0000-0002-0441-9517>), Hugo Gruson [aut] (ORCID: <https://orcid.org/0000-0002-4094-1476>), Vince Carey [aut] (ORCID: <https://orcid.org/0000-0003-4046-0063>) |
| Maintainer: | Helena L. Crowell <[email protected]> |
| License: | Artistic-2.0 |
| Version: | 0.99.10 |
| Built: | 2026-10-13 03:53:31 UTC |
| Source: | https://github.com/bioc/SpatialData.data |
Function for interrogating files across buckets. Please use paws.storage::s3' to interrogate buckets for zipped zarr archives or raw readouts for various platforms.
SD.data_available(src = "sandbox")SD.data_available(src = "sandbox")
src |
The name of the query bucket.
|
a vector of example (zipped) SpatialData stores available at
source
Sys.setenv(AWS_REGION = "us-east-1") library(paws.storage) SD.data_available() SD.data_available("sandbox") SD.data_available("biocOSN")Sys.setenv(AWS_REGION = "us-east-1") library(paws.storage) SD.data_available() SD.data_available("sandbox") SD.data_available("biocOSN")
Returns metadata of available data from Bioc OSN and scverse spatialdata- sandbox S3 buckets
SD.data_list(metadata = FALSE)SD.data_list(metadata = FALSE)
metadata |
if TRUE, all columns will be returned, e.g. File size, License etc. |
a vector of dataset names or a data.frame
SD.data_list() SD.data_list(metadata = TRUE)SD.data_list() SD.data_list(metadata = TRUE)
This function consolidates the retrieval and caching and transformation of scverse-curated Zarr archives and 10x-curated Xenium archives.
SD.data_load(id, target = tempfile(), src)SD.data_load(id, target = tempfile(), src)
id |
character string; dataset identifier |
target |
character(1), defaults to tempfile(); use a different value if you wish to retain the unzipped .zarr store persistently. |
src |
The name of the source, i.e. query bucket.
|
MouseIntestineVisHD: Visium HD 3.0.0 (10x Genomics) dataset of mouse intestine; source (biocOSN): https://www.10xgenomics.com/datasets/visium-hd-cytassist-gene-expression-libraries-of-mouse-intestine
MouseBrainVisHD: Visium HD 4.0.1 (10x Genomics) dataset of mouse brain; source (sandbox): https://www.10xgenomics.com/datasets/visium-hd-three-prime-mouse-brain-fresh-frozen
MouseBrainVis: Visium (10x Genomics) dataset of mouse brain; source (sandbox): https://www.ebi.ac.uk/biostudies/arrayexpress/studies/E-MTAB-11114
LungAdenocarcinomaMCMICRO: MCMICRO dataset of human small cell lung adenocarcinoma; source (biocOSN)
MouseBrainMERFISH: MERFISH dataset of mouse brain tissue; source (biocOSN)
MouseLiverMERFISH: MERFISH dataset of mouse liver tissue (SPArrOW output); source (sandbox): https://www.biorxiv.org/content/10.1101/2024.07.04.601829v1
MulticancerSteinbock: imaging mass cytometry dataset of four cancers; source (biocOSN): https://www.nature.com/articles/s41596-023-00881-0
ColorectalCarcinomaMIBITOF: MIBI-TOF dataset of colorectal carcinoma; source (biocOSN)
JanesickBreastVisiumEnh: Visium (10x Genomics) dataset of breast cancer; source (biocOSN): https://www.nature.com/articles/s41467-023-43458-x
JanesickBreastXeniumRep1: first of two Xenium (10x Genomics) sections associated with the Visium section from Janesick et al.; source (biocOSN)
JanesickBreastXeniumRep2: second of two Xenium (10x Genomics) sections associated with the Visium section from Janesick et al.; source (biocOSN)
HumanLungMulti_10x: Xenium (10x Genomics) data on lung cancer; source (biocOSN): https://www.10xgenomics.com/datasets/preview-data-ffpe-human-lung-cancer-with-xenium-multimodal-cell-segmentation-1-standard
SpaceMHelaniH3T3: SpaceM on Hepa and NIH3T3 cells; source (sandbox); more info: https://github.com/giovp/spatialdata-sandbox/blob/main/spacem_helanih3t3/README.md
an instance of SpatialData, or throws an error if the dataset identifier (id)does not uniquely match the name of any resource, see SD.data_list for the list of datasets.
Sys.setenv(AWS_REGION = "us-east-1") # load using `SD.data_load` ld <- SD.data_load("ColorectalCarcinomaMIBITOF") ld # load data from biocOSN source (Zarr v2) ld <- SD.data_load("ColorectalCarcinomaMIBITOF", src = "biocOSN")Sys.setenv(AWS_REGION = "us-east-1") # load using `SD.data_load` ld <- SD.data_load("ColorectalCarcinomaMIBITOF") ld # load data from biocOSN source (Zarr v2) ld <- SD.data_load("ColorectalCarcinomaMIBITOF", src = "biocOSN")