MSI.R scripts for processing mass spectrometry imaging (MSI) data
The free statistical computing language R provides many packages and functions which can be used for the efficient analysis of mass spectrometry data.
We wrote a collection of scripts for the processing of .imzML mass spectrometry imaging files.
We adopted the R packages MALDIquant and MALDIquantForeign for the analysis of MSI data in *.imzML format by four steps:
- Searching for the most prominent signals in the entire data set.
- Generation of m/z images for a given m/z range.
- Generation of graphics for individual signals.
- Overlay of m/z images and photographies.
Different colour spaces (e.g. grey scale, HCL colours etc.) and contour lines optimize the correct perception of signal intensities and favour colour blind people.
The image above demonstrates a signal with m/z 84.1 from a noisy low-temperature plasma (LTP) mass spectrometry imaging (MSI) dataset.
Source Code/ Download
You can obtain the latest version of the MSI.R scripts from our git repository https://bitbucket.org/lababi/msi.r. Alternatively, you can use it directly from MASSyPup, where we also installed sample data.
Low-Temperature Plasma (LTP) Mass Spectrometry Imaging (MSI)
Roberto Gamboa-Becerra, Enrique Ramírez-Chávez, Jorge Molina-Torres, Robert Winkler: MSI.R scripts reveal volatile and semi-volatile features in low-temperature plasma mass spectrometry imaging (LTP-MSI) of chilli (Capsicum annuum), Analytical and Bioanalytical Chemistry, 2015, 407(19), 5673-5684, http://link.springer.com/article/10.1007/s00216-015-8744-9