importMzMl-functions function

Import mzML files

Import mzML files

This function imports files in mzML file format into MassSpectrum-class or MassPeaks-class objects.

importMzMl(path, ...)

Arguments

  • path: character, path to directory or file which should be read in.
  • ``: arguments to be passed to import.

Returns

a list of MassSpectrum-class or MassPeaks-class objects (depending on the centroided argument).

Examples

library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import s <- importMzMl(exampleDirectory)

References

https://strimmerlab.github.io/software/maldiquant/,

Definition of mzML format: https://www.psidev.info/mzML

See Also

MassSpectrum-class, MassPeaks-class

Author(s)

Sebastian Gibb