Title: | Import/Export Routines for 'MALDIquant' |
---|---|
Description: | Functions for reading (tab, csv, Bruker fid, Ciphergen XML, mzXML, mzML, imzML, Analyze 7.5, CDF, mMass MSD) and writing (tab, csv, mMass MSD, mzML, imzML) different file formats of mass spectrometry data into/from 'MALDIquant' objects. |
Authors: | Sebastian Gibb [aut, cre] , Pietro Franceschi [ctb] |
Maintainer: | Sebastian Gibb <[email protected]> |
License: | GPL (>= 3) |
Version: | 0.14.1 |
Built: | 2024-11-17 04:10:05 UTC |
Source: | https://github.com/sgibb/maldiquantforeign |
This package reads and writes different file formats of mass spectrometry data into/from ‘MALDIquant’ objects.
Package: | MALDIquantForeign |
License: | GPL (>= 3) |
URL: | https://strimmerlab.github.io/software/maldiquant/ |
Sebastian Gibb [email protected]
https://strimmerlab.github.io/software/maldiquant/
Useful links:
Report bugs at https://github.com/sgibb/MALDIquantForeign/issues/
This function provides a general interface to export
AbstractMassObject-class
objects (e.g.
MassSpectrum-class
,
MassPeaks-class
)
into different file formats.
## S4 method for signature 'AbstractMassObject' export(x, file, type="auto", force=FALSE, ...) ## S4 method for signature 'list' export(x, path, type, force=FALSE, ...)
## S4 method for signature 'AbstractMassObject' export(x, file, type="auto", force=FALSE, ...) ## S4 method for signature 'list' export(x, path, type, force=FALSE, ...)
x |
a |
file |
|
type |
|
force |
|
path |
|
... |
arguments to be passed to specific export functions. |
Specific export functions:
tab | exportTab |
csv | exportCsv |
imzML | exportImzMl |
msd | exportMsd |
mzML | exportMzMl |
Sebastian Gibb
https://strimmerlab.github.io/software/maldiquant/
MassPeaks-class
,
MassSpectrum-class
## Not run: library("MALDIquant") library("MALDIquantForeign") s <- list(createMassSpectrum(mass=1:5, intensity=1:5), createMassSpectrum(mass=1:5, intensity=1:5)) ## export a single spectrum export(s[[1]], file="spectrum.csv") ## identical to exportCsv(s[[1]], file="spectrum.csv") ## export a list of spectra export(s, path="spectra", type="csv") ## identical to exportCsv(s, path="spectra") ## End(Not run)
## Not run: library("MALDIquant") library("MALDIquantForeign") s <- list(createMassSpectrum(mass=1:5, intensity=1:5), createMassSpectrum(mass=1:5, intensity=1:5)) ## export a single spectrum export(s[[1]], file="spectrum.csv") ## identical to exportCsv(s[[1]], file="spectrum.csv") ## export a list of spectra export(s, path="spectra", type="csv") ## identical to exportCsv(s, path="spectra") ## End(Not run)
This function exports
MassSpectrum-class
objects into imzML files.
## S4 method for signature 'MassSpectrum' exportImzMl(x, file, force=FALSE, processed=TRUE, coordinates=NULL, pixelSize=c(100, 100), ...) ## S4 method for signature 'list' exportImzMl(x, path, force=FALSE, processed=TRUE, coordinates=NULL, pixelSize=c(100, 100), ...)
## S4 method for signature 'MassSpectrum' exportImzMl(x, file, force=FALSE, processed=TRUE, coordinates=NULL, pixelSize=c(100, 100), ...) ## S4 method for signature 'list' exportImzMl(x, path, force=FALSE, processed=TRUE, coordinates=NULL, pixelSize=c(100, 100), ...)
x |
a |
file |
|
force |
|
processed |
|
coordinates |
|
pixelSize |
|
path |
|
... |
arguments to be passed to internal functions. |
Sebastian Gibb
https://strimmerlab.github.io/software/maldiquant/
Schramm T, Hester A, Klinkert I, Both J-P, Heeren RMA, Brunelle A,
Laprevote O, Desbenoit N, Robbe M-F, Stoeckli M, Spengler B, Roempp A
(2012)
imzML - A common data format for the flexible exchange and processing of mass
spectrometry imaging data.
Journal of Proteomics 75 (16):5106-5110.
doi:10.1016/j.jprot.2012.07.026
## Not run: library("MALDIquant") library("MALDIquantForeign") s <- list(createMassSpectrum(mass=1:5, intensity=1:5), createMassSpectrum(mass=1:5, intensity=1:5)) ## export a list of spectra exportImzMl(s, path="processed.imzML", coordinates=cbind(x=1:2, y=c(1, 1))) ## End(Not run)
## Not run: library("MALDIquant") library("MALDIquantForeign") s <- list(createMassSpectrum(mass=1:5, intensity=1:5), createMassSpectrum(mass=1:5, intensity=1:5)) ## export a list of spectra exportImzMl(s, path="processed.imzML", coordinates=cbind(x=1:2, y=c(1, 1))) ## End(Not run)
This function exports
AbstractMassObject-class
objects (e.g.
MassSpectrum-class
,
MassPeaks-class
)
into mMass MSD files.
## S4 method for signature 'MassSpectrum' exportMsd(x, file, force=FALSE, peaks, ...) ## S4 method for signature 'list' exportMsd(x, path, force=FALSE, peaks, ...)
## S4 method for signature 'MassSpectrum' exportMsd(x, file, force=FALSE, peaks, ...) ## S4 method for signature 'list' exportMsd(x, path, force=FALSE, peaks, ...)
x |
a |
file |
|
force |
|
peaks |
a |
path |
|
... |
arguments to be passed to |
Sebastian Gibb
https://strimmerlab.github.io/software/maldiquant/,
mMass homepage: http://mmass.org/
MassPeaks-class
,
MassSpectrum-class
## Not run: library("MALDIquant") library("MALDIquantForeign") s <- list(createMassSpectrum(mass=1:5, intensity=1:5), createMassSpectrum(mass=1:5, intensity=1:5)) p <- list(createMassPeaks(mass=4:5, intensity=4:5, snr=1:2), createMassPeaks(mass=4:5, intensity=4:5, snr=1:2)) ## export a single spectrum exportMsd(s[[1]], file="spectrum.msd") ## export a single spectrum with corresponding peaks exportMsd(s[[1]], file="spectrum.msd", peaks=p[[1]]) ## export a list of spectra with corresponding peaks exportMsd(s, path="spectra", peaks=p, force=TRUE) ## End(Not run)
## Not run: library("MALDIquant") library("MALDIquantForeign") s <- list(createMassSpectrum(mass=1:5, intensity=1:5), createMassSpectrum(mass=1:5, intensity=1:5)) p <- list(createMassPeaks(mass=4:5, intensity=4:5, snr=1:2), createMassPeaks(mass=4:5, intensity=4:5, snr=1:2)) ## export a single spectrum exportMsd(s[[1]], file="spectrum.msd") ## export a single spectrum with corresponding peaks exportMsd(s[[1]], file="spectrum.msd", peaks=p[[1]]) ## export a list of spectra with corresponding peaks exportMsd(s, path="spectra", peaks=p, force=TRUE) ## End(Not run)
This function exports
MassSpectrum-class
objects into mzML files.
## S4 method for signature 'MassSpectrum' exportMzMl(x, file, force=FALSE, ...) ## S4 method for signature 'list' exportMzMl(x, path, force=FALSE, ...)
## S4 method for signature 'MassSpectrum' exportMzMl(x, file, force=FALSE, ...) ## S4 method for signature 'list' exportMzMl(x, path, force=FALSE, ...)
x |
a |
file |
|
force |
|
path |
|
... |
arguments to be passed to internal functions. |
Sebastian Gibb
https://strimmerlab.github.io/software/maldiquant/,
HUPO Proteomics Standards Inititative mzML 1.1.0 Specification:
https://www.psidev.info/mzML
## Not run: library("MALDIquant") library("MALDIquantForeign") s <- list(createMassSpectrum(mass=1:5, intensity=1:5), createMassSpectrum(mass=1:5, intensity=1:5)) ## export a single spectrum exportMzMl(s[[1]], file="spectrum.mzML") ## export a list of spectra exportMzMl(s, path="spectra.mzML") ## End(Not run)
## Not run: library("MALDIquant") library("MALDIquantForeign") s <- list(createMassSpectrum(mass=1:5, intensity=1:5), createMassSpectrum(mass=1:5, intensity=1:5)) ## export a single spectrum exportMzMl(s[[1]], file="spectrum.mzML") ## export a list of spectra exportMzMl(s, path="spectra.mzML") ## End(Not run)
This function exports
AbstractMassObject-class
objects (e.g.
MassSpectrum-class
,
MassPeaks-class
)
into different text file formats.
## S4 method for signature 'AbstractMassObject' exportTab(x, file, force=FALSE, ...) ## S4 method for signature 'list' exportTab(x, path, force=FALSE, ...) ## S4 method for signature 'AbstractMassObject' exportCsv(x, file, force=FALSE, ...) ## S4 method for signature 'list' exportCsv(x, path, force=FALSE, ...)
## S4 method for signature 'AbstractMassObject' exportTab(x, file, force=FALSE, ...) ## S4 method for signature 'list' exportTab(x, path, force=FALSE, ...) ## S4 method for signature 'AbstractMassObject' exportCsv(x, file, force=FALSE, ...) ## S4 method for signature 'list' exportCsv(x, path, force=FALSE, ...)
x |
a |
file |
|
force |
|
path |
|
... |
arguments to be passed to |
exportTab
and exportCsv
use write.table
with different defaults (sep="\t"
in exportTab
and
sep=","
in exportCsv
).
Sebastian Gibb
https://strimmerlab.github.io/software/maldiquant/
MassPeaks-class
,
MassSpectrum-class
,
write.table
## Not run: library("MALDIquant") library("MALDIquantForeign") s <- list(createMassSpectrum(mass=1:5, intensity=1:5), createMassSpectrum(mass=1:5, intensity=1:5)) ## export a single spectrum exportTab(s[[1]], file="spectrum.tab") ## export a list of spectra and use ; as separator exportCsv(s, path="spectra", sep=";", force=TRUE) ## End(Not run)
## Not run: library("MALDIquant") library("MALDIquantForeign") s <- list(createMassSpectrum(mass=1:5, intensity=1:5), createMassSpectrum(mass=1:5, intensity=1:5)) ## export a single spectrum exportTab(s[[1]], file="spectrum.tab") ## export a list of spectra and use ; as separator exportCsv(s, path="spectra", sep=";", force=TRUE) ## End(Not run)
This function provides a general interface to import different file formats
into MassSpectrum-class
or
MassPeaks-class
objects.
import( path, type = "auto", pattern, excludePattern = NULL, removeEmptySpectra = TRUE, centroided = FALSE, massRange = c(0, Inf), minIntensity = 0, mc.cores = 1L, verbose = interactive(), ... )
import( path, type = "auto", pattern, excludePattern = NULL, removeEmptySpectra = TRUE, centroided = FALSE, massRange = c(0, Inf), minIntensity = 0, mc.cores = 1L, verbose = interactive(), ... )
path |
|
type |
|
pattern |
|
excludePattern |
|
removeEmptySpectra |
|
centroided |
|
massRange |
|
minIntensity |
|
mc.cores |
number of cores to use (default 1; only unix-based platforms
are supported, see
|
verbose |
|
... |
arguments to be passed to specific import functions. |
Specific import functions:
txt | importTxt |
tab | importTab |
csv | importCsv |
fid | importBrukerFlex |
ciphergen | importCiphergenXml |
mzXML | importMzXml |
mzML | importMzMl |
imzML | importImzMl |
analyze | importAnalyze |
cdf | importCdf |
msd | importMsd |
path
: In addition to the above mentioned file types the
following (compressed) archives are supported, too:
zip, tar, tar.gz, tar.bz2, tar.xz. The archives are uncompressed in a
temporary directory. Afterwards the import
function is called (with type="auto"
).
pattern
: Sometimes unusual file extensions are used (e.g.
"*.xml"
for mzXML files). In this case a specific
pattern
could be defined to import files with an unusual file
extension (e.g. pattern="^.*\.xml$"
to read all *.xml
files in a directory; see regexp
for details).
excludePattern
: Sometimes some files should be excluded. E.g.
to ignore additional aquired Bruker LIFT spectra
(MALDI-TOF/TOF; which are not support, yet) you could use
excludePattern="([[:digit:]\.]+)LIFT[\\/]1SRef"
.
a list
of MassSpectrum-class
or
MassPeaks-class
objects (depending on the
centroided
argument).
Sebastian Gibb
https://strimmerlab.github.io/software/maldiquant/
MassSpectrum-class
,
MassPeaks-class
MALDIquantForeign-parallel
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import mzXML files s <- import(exampleDirectory, type="mzXML") ## import tab delimited file with different file extension (default: *.tab) s <- import(exampleDirectory, type="tab", pattern="^.*\\.txt") ## import single mzML file s <- import(file.path(exampleDirectory, "tiny1.mzML1.1.mzML")) ## import gzipped csv file s <- import(file.path(exampleDirectory, "compressed", "csv1.csv.gz"))
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import mzXML files s <- import(exampleDirectory, type="mzXML") ## import tab delimited file with different file extension (default: *.tab) s <- import(exampleDirectory, type="tab", pattern="^.*\\.txt") ## import single mzML file s <- import(file.path(exampleDirectory, "tiny1.mzML1.1.mzML")) ## import gzipped csv file s <- import(file.path(exampleDirectory, "compressed", "csv1.csv.gz"))
This function imports files in Analyze 7.5 file format
into MassSpectrum-class
or
MassPeaks-class
objects.
importAnalyze(path, ...)
importAnalyze(path, ...)
path |
|
... |
arguments to be passed to
|
a list
of MassSpectrum-class
or
MassPeaks-class
objects (depending on the
centroided
argument).
Sebastian Gibb
https://strimmerlab.github.io/software/maldiquant/
http://www.grahamwideman.com/gw/brain/analyze/formatdoc.htm,
https://eeg.sourceforge.net/ANALYZE75.pdf
MassSpectrum-class
,
MassPeaks-class
This function imports files in Bruker Daltonics *flex-series file format
into MassSpectrum-class
or
MassPeaks-class
objects.
importBrukerFlex(path, ...)
importBrukerFlex(path, ...)
path |
|
... |
arguments to be passed to
|
a list
of MassSpectrum-class
or
MassPeaks-class
objects (depending on the
centroided
argument).
Sebastian Gibb
https://strimmerlab.github.io/software/maldiquant/
MassSpectrum-class
,
MassPeaks-class
,
readBrukerFlexFile
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") s <- importBrukerFlex(exampleDirectory)
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") s <- importBrukerFlex(exampleDirectory)
This function imports files in NetCDF file format
into MassSpectrum-class
or
MassPeaks-class
objects.
Please note that the RNetCDF is needed.
importCdf(path, ...)
importCdf(path, ...)
path |
|
... |
arguments to be passed to
|
a list
of MassSpectrum-class
or
MassPeaks-class
objects (depending on the
centroided
argument).
Sebastian Gibb
https://strimmerlab.github.io/software/maldiquant/
MassSpectrum-class
,
MassPeaks-class
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import if (requireNamespace("RNetCDF", quietly=TRUE)) { s <- importCdf(exampleDirectory) } else { message("You have to install the RNetCDF package to use importCdf.") }
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import if (requireNamespace("RNetCDF", quietly=TRUE)) { s <- importCdf(exampleDirectory) } else { message("You have to install the RNetCDF package to use importCdf.") }
This function imports files in Ciphergen XML file format
into MassSpectrum-class
or
MassPeaks-class
objects.
importCiphergenXml(path, ...)
importCiphergenXml(path, ...)
path |
|
... |
arguments to be passed to
|
a list
of MassSpectrum-class
or
MassPeaks-class
objects (depending on the
centroided
argument).
Sebastian Gibb
https://strimmerlab.github.io/software/maldiquant/
MassSpectrum-class
,
MassPeaks-class
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import s <- importCiphergenXml(exampleDirectory)
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import s <- importCiphergenXml(exampleDirectory)
This function imports files in imzML file format
into MassSpectrum-class
or
MassPeaks-class
objects.
importImzMl(path, coordinates = NULL, ...)
importImzMl(path, coordinates = NULL, ...)
path |
|
coordinates |
|
... |
arguments to be passed to
|
a list
of MassSpectrum-class
or
MassPeaks-class
objects (depending on the
centroided
argument).
Sebastian Gibb
https://strimmerlab.github.io/software/maldiquant/,
Definition of imzML
format:
https://ms-imaging.org/imzml/
MassSpectrum-class
,
MassPeaks-class
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import s <- importImzMl(file.path(exampleDirectory, "tiny_continuous.imzML")) ## import only spectra for pixel 1,1 and 2,1 s <- importImzMl(file.path(exampleDirectory, "tiny_continuous.imzML"), coordinates = cbind(1:2, c(1, 1)))
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import s <- importImzMl(file.path(exampleDirectory, "tiny_continuous.imzML")) ## import only spectra for pixel 1,1 and 2,1 s <- importImzMl(file.path(exampleDirectory, "tiny_continuous.imzML"), coordinates = cbind(1:2, c(1, 1)))
This function imports files in mMass MSD file format
into MassSpectrum-class
or
MassPeaks-class
objects.
importMsd(path, ...)
importMsd(path, ...)
path |
|
... |
arguments to be passed to
|
a list
of MassSpectrum-class
or
MassPeaks-class
objects (depending on the
centroided
argument).
Sebastian Gibb
https://strimmerlab.github.io/software/maldiquant/,
mMass homepage: http://mmass.org/
MassSpectrum-class
,
MassPeaks-class
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import s <- importMsd(exampleDirectory)
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import s <- importMsd(exampleDirectory)
This function imports files in mzML file format
into MassSpectrum-class
or
MassPeaks-class
objects.
importMzMl(path, ...)
importMzMl(path, ...)
path |
|
... |
arguments to be passed to
|
a list
of MassSpectrum-class
or
MassPeaks-class
objects (depending on the
centroided
argument).
Sebastian Gibb
https://strimmerlab.github.io/software/maldiquant/,
Definition of mzML
format:
https://www.psidev.info/mzML
MassSpectrum-class
,
MassPeaks-class
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import s <- importMzMl(exampleDirectory)
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import s <- importMzMl(exampleDirectory)
This function imports files in mzXML file format
into MassSpectrum-class
or
MassPeaks-class
objects.
importMzXml(path, ...)
importMzXml(path, ...)
path |
|
... |
arguments to be passed to
|
a list
of MassSpectrum-class
or
MassPeaks-class
objects (depending on the
centroided
argument).
Sebastian Gibb
https://strimmerlab.github.io/software/maldiquant/,
Definition of mzXML
format:
http://tools.proteomecenter.org/wiki/index.php?title=Formats:mzXML
MassSpectrum-class
,
MassPeaks-class
,
readMzXmlFile
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import s <- importMzXml(exampleDirectory)
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import s <- importMzXml(exampleDirectory)
This function imports different text file formats
into MassSpectrum-class
or
MassPeaks-class
objects.
importTxt(path, ...) importTab(path, ...) importCsv(path, ...)
importTxt(path, ...) importTab(path, ...) importCsv(path, ...)
path |
|
... |
arguments to be passed to |
importTab
, importTxt
and importCsv
use
read.table
with different defaults.
a list
of MassSpectrum-class
or
MassPeaks-class
objects (depending on the
centroided
argument).
Sebastian Gibb
https://strimmerlab.github.io/software/maldiquant/
MassSpectrum-class
,
MassPeaks-class
,
read.table
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import txt files s <- importTxt(exampleDirectory) ## import csv files s <- importCsv(exampleDirectory)
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import txt files s <- importTxt(exampleDirectory) ## import csv files s <- importCsv(exampleDirectory)
MALDIquantForeign-package
offers multi-core
support using mclapply
and
mcmapply
. This approach is limited to unix-based
platforms.
Please note that not all import functions benfit from parallelisation. The current implementation is limited to run the parallelisation over different files. That's why only imports of multiple files could be run on multiple cores. E.g. a single mzML file containing 4 spectra would always be read on a single core. In contrast 4 mzML files each containing just one spectra could be read in using 4 cores.
The improvement in the runtime depends on the amount of data to read, the proportion of parsing/decoding of the data, the amount of memory and the speed of the hard disk.
Please note: It is possible that using parallelisation results in a worse runtime!
Sebastian Gibb [email protected]
https://strimmerlab.github.io/software/maldiquant/
MALDIquant-parallel
,
mclapply
,
mcmapply
## load packages library("MALDIquant") library("MALDIquantForeign") exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## run single-core import print(system.time( s1 <- importMzMl(exampleDirectory, centroided=TRUE, verbose=FALSE) )) if(.Platform$OS.type == "unix") { ## run multi-core import ## (because the example spectra are very small (just 5 data points) the ## multi-core solution is slower on most systems) print(system.time( s2 <- importMzMl(exampleDirectory, centroided=TRUE, mc.cores=2, verbose=FALSE) )) stopifnot(all.equal(s1, s2)) }
## load packages library("MALDIquant") library("MALDIquantForeign") exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## run single-core import print(system.time( s1 <- importMzMl(exampleDirectory, centroided=TRUE, verbose=FALSE) )) if(.Platform$OS.type == "unix") { ## run multi-core import ## (because the example spectra are very small (just 5 data points) the ## multi-core solution is slower on most systems) print(system.time( s2 <- importMzMl(exampleDirectory, centroided=TRUE, mc.cores=2, verbose=FALSE) )) stopifnot(all.equal(s1, s2)) }
This function prints all file formats supported by
MALDIquantForeign-package
.
supportedFileFormats()
supportedFileFormats()
txt | importTxt |
tab | importTab |
csv | importCsv |
fid | importBrukerFlex |
ciphergen | importCiphergenXml |
mzXML | importMzXml |
mzML | importMzMl |
imzML | importImzMl |
analyze | importAnalyze |
cdf | importCdf |
msd | importMsd |
tab | exportTab |
csv | exportCsv |
imzML | exportImzMl |
msd | exportMsd |
mzML | exportMzMl |
a list
with two named elements (import
and
export
) containing a character
vector of supported file types.
Sebastian Gibb
https://strimmerlab.github.io/software/maldiquant/
library("MALDIquantForeign") supportedFileFormats()
library("MALDIquantForeign") supportedFileFormats()