__Documentation is available at: https://bodenmillergroup.github.io/imcdatasets/index.html__
Introduction
The imcdatasets package is an extensible resource containing a set of publicly available and curated Imaging Mass Cytometry datasets. Each dataset consists of three data objects: 1. Single cell data in the form of a SingleCellExperiment or SpatialExperiment class object. 2. Multichannel images formatted into a CytoImageList class object. 3. Cell segmentation masks formatted into a CytoImageList class object.
These formats facilitate accession and integration into R/Bioconductor workflows. The data objects are hosted on Bioconductor’s ExperimentHub platform.
Installation
Release version
The release version of imcdatasets requires R version >= 4.6 and Bioconductor version >= 3.23.
The current release of Bioconductor should be installed:
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(version = "3.23")Then, imcdatasets can be installed from Bioconductor:
BiocManager::install("imcdatasets")Development version
The development version of imcdatasets requires R version >= 4.6 and Bioconductor version >= 3.24.
The development version of Bioconductor should be installed:
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(version='devel')Then, imcdatasets can be installed from Bioconductor:
BiocManager::install("imcdatasets")imcdatasets can also be installed from GitHub using devtools:
if (!requireNamespace("devtools", quietly = TRUE))
install.packages("devtools")
devtools::install_github("BodenmillerGroup/imcdatasets", build_vignettes = TRUE)Dependencies
imcdatasets builds on data objects contained in the SingleCellExperiment, SpatialExperiment, and cytomapper packages.
These packages can be installed as follows:
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(c("SingleCellExperiment", "SpatialExperiment", "cytomapper"))Usage
To load imcdatasets in your R session, use:
Detailed information on how to access the datasets is available in the imcdatasets vignette.
The vignette can also be viewed directly in R:
vignette("imcdatasets")Details
The imcdatasets package provides quick and easy access to published and curated imaging mass cytometry datasets. Each dataset consists of three data objects that can be retrieved individually:
Single cell data in the form of a
SingleCellExperimentor aSpatialExperimentclass object: This object contains cell-level expression values and metadata. TherowDataentry contain marker information while thecolDataentry contain cell-level metadata, including image names and cell numbers. Theassaysslots contain marker expression levels per cell: thecountsassay contains average ion counts per cell whereas the other assays contain counts transformations (details available in the documentation of each dataset).Multichannel images formatted into a
CytoImageListclass object. This object contains multichannel images and metadata, including channel names and image names.Cell segmentation masks formatted into a
CytoImageListclass object. This object contains single-channel images representing cell segmentation masks and metadata, including image names. The mask intensity values map to cell number values in theSingleCellExperimentobject so that single cell data can be associated to segmentation masks.
The three data objects can be mapped using the image names contained in the metadata of each object. Details are available in the vignette (see above).
For more information about the SingleCellExperiment, SpatialExperiment, and CytoImageList objects, please refer to the SingleCellExperiment, SpatialExperiment, and cytomapper packages, respectively.
Available datasets
List of available datasets
-
SteenbuckDamond_2026_T1D: Pancreas sections from organ donors with type 1 diabetes.
- Documentation: SteenbuckDamond_2026_T1D.
- Publication: Steenbuck, Damond et al. Nat Metab (2026) 8(7):1603–1620.
- Documentation: SteenbuckDamond_2026_T1D.
-
Damond_2019_Pancreas: Pancreas sections from organ donors with type 1 diabetes.
- Documentation: Damond_2019_Pancreas.
- Publication: Damond et al. Cell Metab (2019) 29(3):755-768.e5.
- Documentation: Damond_2019_Pancreas.
-
Meyer_2025_TripleNegativeBreastCancer: Triple Negative Breast Cancer samples.
- Documentation: Meyer_2025_TripleNegativeBreastCancer.
- Publication: Meyer et al. Cancer Cell (2025) 43(9):1637–1655.e9.
-
HochSchulz_2022_Melanoma: Metastatic melanoma samples, including a panel with co-detection of protein and RNA targets.
- Documentation: HochSchulz_2022_Melanoma.
- Publication: Hoch, Schulz et al. Sci Immunol (2022) 70(7):abk1692
-
JacksonFischer_2020_BreastCancer: Tumour tissue from patients with breast cancer.
- Documentation: JacksonFischer_2020_BreastCancer.
- Publication: Jackson, Fischer et al. Nature (2020) 578:615–620
-
Zanotelli_2020_Spheroids: 3D spheroids generated from different cell lines.
- Documentation: Zanotelli_2020_Spheroids.
- Publication: Zanotelli et al. Mol Syst Biol (2020) 16:e9798.
- Documentation: Zanotelli_2020_Spheroids.
-
IMMUcan_2022_CancerExample: Example data from the IMMUcan project.
- Documentation: IMMUcan_2022_CancerExample.
Viewing available datasets in R
In R, currently available datasets can be viewed with:
imc <- imcdatasets::listDatasets()
imc <- as.data.frame(imc)
imcDetailed information about each dataset is available in the help pages (e.g., ?JacksonFischer_2020_BreastCancer). For more information, please refer to the ExperimentHub vignette.
Contributing
Suggestions for new Imaging Mass Cytometry datasets to include in the imcdatasets package are welcome and can be made by opening an issue on GitHub.
Guidelines about contributions and dataset formatting are provided in a dedicated vignette.
Citation
Damond N, Steenbuck N, Eling N, Fischer J, Hoch T, Meyer L (2026). imcdatasets: Collection of publicly available imaging mass cytometry (IMC) datasets. R package version 1.21.3, https://github.com/BodenmillerGroup/imcdatasets.
Authors
-
Nicolas Damond (author)
- Nathan Steenbuck (author, maintainer)
-
Nils Eling (contributor)
-
Jana Fischer (contributor)
-
Tobias Hoch (contributor)
- Lasse Meyer (contributor)