Read the data from the MS files and creates the dataset.
read_ms_spectra(folder.name, type = "undefined",
filename.meta = NULL, description = "", prof.method = "bin",
fwhm = 30, bw = 30, intvalue = "into", header.col.meta = TRUE,
header.row.meta = TRUE, sep.meta = ",")
string containing the path of the data folder.
type of the data.
name of the metadata file.
a short text describing the dataset.
profmethod parameter from xcmsSet function from xcms package.
fwhm parameter from xcmsSet function from xcms package. A commonly used value is 30 (seconds) for LC-MS and 4 (seconds) for GC-MS spectra.
bw parameter from group function from xcms package.
value parameter from groupval function from xcms package. It can be:
"into" - integrated area of original (raw) peak
"intf" - integrated area of filtered peak.
"maxo" - maximum intensity of original (raw) peak.
"maxf" - maximum intensity of filtered peak.
boolean value indicating if the metadata CSV file contains a header column with the name of the metadata variables.
boolean value indicating if the metadata CSV file contains a header row with the name of the samples.
the separator character of the metadata file.
Returns a dataset from the MS files.