IDSL.MXP (Mz Xml Parser)
IDSL.MXP is a light-weight parser for mzML, mzXML, and netCDF files. Please visit https://github.com/idslme/IDSL.MXP
path <- “location address of the mass spectrometry file”
msfile <- "name of the mass spectrometry file with its extension"
msobject <- IDSL.MXP::peak2list (path, msfile)
msobject is a list with two objects - 1) scanTable, a data.frame of the entire scan properties, and 2) spectraList, a list of m/z and intensity values for individual chromatogram scan