Code
source("data/downloadData.R")
downloadData()All processed datasets with precomputed cell type annotations are available on Zenodo.
From the repository root, run:
This will download all four SingleCellExperiment/SpatialExperiment objects into your data/covid/ and data/merfish/ directories.
Visit the Zenodo repository and download:
covid_data_sce.rds — COVID-19 PBMC query (severe infection)normal_data_sce.rds — Healthy PBMC referencedss9_data.rds — MERFISH colitis query (day 9)healthy_data.rds — Healthy colon MERFISH referencePlace files under:
data/
├── covid/
│ ├── covid_data_sce.rds
│ └── normal_data_sce.rds
└── merfish/
├── dss9_data.rds
└── healthy_data.rds
All objects are in SingleCellExperiment or SpatialExperiment format with the following components:
assays() (counts and logcounts)colData() including:
tier2_merged)azimuth_celltype_l1_merged)singler_annotations_merged)celltypist_predicted_labels_merged)scvi_prediction_merged)reducedDims() (PCA, UMAP)spatialCoords() (MERFISH only)Once the data has been obtained, read into R with:
library(SingleCellExperiment)
# COVID-19 data
covid_query <- readRDS("data/covid/covid_data_sce.rds")
covid_ref <- readRDS("data/covid/normal_data_sce.rds")
# MERFISH data
merfish_query <- readRDS("data/merfish/dss9_data.rds")
merfish_ref <- readRDS("data/merfish/healthy_data.rds")
# Inspect annotations
head(colData(covid_query))If using these datasets, please cite:
COVID-19 data:
Stephenson, E., et al. (2021). Single-cell multi-omics analysis of the immune response in COVID-19. Nature Medicine, 27, 904–16.
MERFISH data:
Cadinu, P., et al. (2024). Charting the cellular biogeography in colitis reveals fibroblast trajectories and coordinated spatial remodeling. Cell, 187(8), 2010-28.
Geistlinger, L., Moffitt, J., & Gentleman, R. (2024). MerfishData: Collection of public MERFISH datasets. R package version 1.8.0. Bioconductor
scDiagnostics package: