as.peak_set {mzDeco} | R Documentation |
as.peak_set(x);
for make data object conversion from a R# runtime dataframe object, that these data fields is required for creates the xcms peaks object: 1. mz, mzmin, mzmax: the ion m/z value of the xcms peak 2. rt, rtmin, rtmax: the ion retention time of the xcms peak data, should be in time unit seconds 3. RI: the ion retention index value that evaluated based on the RT value 4. all of the other data fields in the dataframe will be treated as the sample peak area data.