Cardinal · Day 1 of 2
Introduction to Cardinal, preprocessing, and visualization
Thursday, November 5, 2026 · 10:00 a.m.–12:30 p.m. Boston time (EST). Led by Kylie Bemis, Sai Srikanth Lakkimsetty, Ethan Rogers, and Yinyue Zhu.
This session
In this session we will cover the basics of Cardinal, beginning with Cardinal’s data structures and the .imzML format as well as the basics of working with larger-than-memory datasets. We will then cover preprocessing of MSI data, including recalibration, peak picking, peak alignment, and normalization as well as common operations like subsetting and summarizing pixels and features. We will end with visualization of spectra and single ion images.
Session schedule
Held online as a Zoom webinar, 10:00 a.m.–12:30 p.m. Boston time (EST; 15:00–17:30 UTC · 7:00–9:30 a.m. PST · 3:00–5:30 p.m. GMT · 4:00–6:30 p.m. CET): two one-hour lectures with a short break, followed by general discussion.
- 10:00–11:00 Lecture 1 — Introduction to working with MSI data in Cardinal
- 11:00–11:15 Break and questions
- 11:15–12:15 Lecture 2 — Preprocessing and Visualization for MSI in Cardinal
- 12:15–12:30 General discussion
Background
This course covers the basics of data manipulation, visualization, and statistical analysis of mass spectrometry imaging (MSI) experiments using Cardinal and R. We begin by introducing the fundamental ways of interacting with MSI datasets and experimental metadata in Cardinal, followed by preprocessing and visualization of mass spectra and ion images. We then demonstrate the application and interpretation of statistical and machine learning methods for segmentation, classification, and hypothesis testing. Sessions mix lectures with code demonstrations using datasets from public repositories such as PRIDE and MassIVE.
Who it’s for
Biologists, chemists, bioinformaticians, computer scientists, data scientists, statisticians, and engineers who are comfortable with the basics of R and interested in working with MSI data in Cardinal.
Software and installation
To work through the code demonstrations, install the software below. The session used recent versions of R and Bioconductor:
- R (≥ 4.6)
- Bioconductor (current release)
- Cardinal
- CardinalWorkflows (example datasets and workflows)
Please install or update to these versions to run the examples.
- Install R (≥ 4.6) from CRAN, and (recommended) RStudio Desktop. On Windows, also install Rtools.
- Open R or RStudio and run the installation code below in the console.
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(c("Cardinal", "CardinalWorkflows"))
Materials
Presentation slides, code, and datasets were shared with registered participants.
Links and resources
- Cardinal project site
- Cardinal on Bioconductor
- CardinalWorkflows on Bioconductor
- Installing Bioconductor
- Download R (CRAN)
- Download RStudio Desktop
All days in this course
- Day 1 · Thursday, Nov 5 Introduction to Cardinal, preprocessing, and visualization
- Day 2 · Friday, Nov 6 Case studies on statistics and machine learning with MSI data