MSIreg: an R package for unsupervised coregistration of mass spectrometry and H&E images

Bioinformatics. 2024 Oct 17:btae624. doi: 10.1093/bioinformatics/btae624. Online ahead of print.

Abstract

Summary: Joint analysis of mass spectrometry images (MS images) and microscopy images of hematoxylin and eosin (H&E) stained tissues assists pathologists in characterizing the morphological structure of the tissues, and in performing diagnosis. Unfortunately, the analysis is undermined by substantial differences between these modalities in terms of aspect ratios, spatial resolution, number of channels in each image, as well as by large global or small local elastic spatial deformations of one image with respect to the other. Therefore, accurate coregistration of the images is a critical pre-requisite for their joint interpretation. We introduce MSIreg, an open-source R package for coregistration of MSI and H&E images. MSIreg is designed for high-dimensional MSI experiments where each spatial location is represented by thousands of mass features. Unlike most existing coregistration methods, MSIreg implements a landmark free workflow, and quantitative metrics for performance evaluation. We evaluate the performance of MSIreg on six case studies, including coregistration of contiguous tissues with large deformations, as well as simultaneous coregistration of 29 tissue microarray cores.

Availability: The R package, installation instructions, and fully reproducible vignettes describing methods and Case Studies are are available open-source under the GPL-3.0 license at https://github.com/sslakkimsetty/msireg/.