Description Usage Arguments Value
From a xcmsRaw object (with multiple scans), this function returns a hyperSpec object (averaged spectrum). As this function only accepts one object, later merging would be necessary to construct a hyperSpec object with multiple spectra (use rbind()).
1 2 | xcmsAvgHyperSpec(xcmsraw, scans = NULL, msLevel = 1, step = 0.01,
mzrange = NULL)
|
xcmsraw |
An object of class |
scans |
A numeric vector (default NULL returns average of all the scans). Scan index within the ms level, not an actual scan number. |
msLevel |
MS level (MS1 or MS2). Either 1 or 2. Default, 1 (MS1). |
step |
Numeric (default 0.01). The step size of x axis to which the raw data is interpolated. |
mzrange |
Range of m/z to be included in the output |
Returns an object of class hyperSpec
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.