MALDIquant and MALDIquantForeign pages on CRAN.

MALDIquantExamples page on GitHub.

MALDIquant provides a complete analysis pipeline for MALDI-TOF and other mass spectrometry data. Distinctive features include baseline subtraction methods such as TopHat or SNIP, peak alignment using warping functions, handling of replicated measurements as well as allowing spectra with different resolutions.

The MALDIquant pipeline consists of two main R packages:



Please visit the binda page for corresponding example R scripts.

All softwares are licensed under the GNU GPL version 3 (or any later version).

Author: Sebastian Gibb.

Example R Code:

To illustrate the application of MALDIquant for analyzis of mass spectrometry data please find below a number of example R scripts:

Demos contained in MALDIquant package:

Examples from MALDIquantForeign:

To run these analyses without installing MALDIquantExamples use the following R scripts:
  1. nyakas2013-standalone.R,
  2. fiedler2009-standalone.R,
  3. species-standalone.R.

Examples contained in MALDIquantExamples:

  1. Mass Spectrometry Imaging (MSI) example - see the vignette (PDF) and corresponding R code.
  2. Example analysis of Fiedler et al. (2009) pancreas cancer data (including peak filtering, feature selection and classification using SDA) - see the vignette (PDF) and corresponding R code. For an alternative analysis script using binary discriminant analysis see the binda page.
  3. Example cluster analysis of 96 MALDI-TOF mass spectra of four different bacteria species (incl. peak selection) - see the vignette (PDF) and corresponding R code.


On Debian GNU/Linux install r-cran-maldiquant and r-cran-maldiquantforeign.

For installing the two main packages simply enter at the R console:

install.packages(c("MALDIquant", "MALDIquantForeign"))

To install devtools run: install.packages("devtools")

For MALDIquantExamples you need to use the devtools R package:


Note that you can run the examples provided in MALDIquantExamples also without installing the actual package (see above).


The MALDIquant R package offers the core functions for mass spectrometry analysis, including base classes, plotting, base-line correction, peak identification, alignment etc.

The current version of MALDIquant is 1.18 (published July 2018) :

The MALDIquantForeign package provides additional functions for reading (tab, csv, fid, mzXML, mzML, imzML, Analyze 7.5, msd) and writing common file formats for mass spectrometry data into/from MALDIquant objects.

The current version of MALDIquantForeign is 0.11.1 (published December 2017):

Reference Publication:

Further material:

Related Software:

The MALDIquant and MALDIquantForeign packages are part of the Bioconductor RforProteomics analysis pipeline developed by Laurent Gatto.

The MALDIrppa package provides quality control and robust preprocessing methods for MALDIquant.

The Mass-Up software developed at the University of Vigo uses some functions of MALDIquant.

MASSyPup - The Mass Spectrometry Live Linux developed by Robert Winkler comes with many useful free software for mass spectrometry analysis and also includes MALDIquant and MALDIquantForeign.

See also our list of open source tools for mass spectrometry analysis (mostly in R).