exIntensities | R Documentation |
Lightweight variant of multiEIC to extract average in a file, more suitable for large featuretables.
exIntensities( rawfile, mz, ppm = 5, rtw = data.frame(0, 10), baselineSubtract = T, SN = NULL, areaMode = F )
rawfile |
an xcmsRaw object |
mz |
numeric (): m/z values (same length as nrow(rtw)). |
ppm |
m/z width (+/- ppm from values defined in mz) |
rtw |
a data.frame with minimum (column 1) and maximum (column 2) retention time values (in seconds) in each row. |
baselineSubtract |
subtract baseline when calculating intensities |
SN |
signal to noise ratio. If not NULL, all peaks with max/min peak intensity below this will be reported as intensity 0. Requires Baselinesubstraction to be off. |
areaMode |
if TRUE, will calculate peak areas rather than mean intensities |
numeric vector with intensity values for all features defined by
mz
and rt
in rawfile
exIntensities
: extract intensities base function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.