View source: R/Functions_extract_EICs.R
fastPeakShapes | R Documentation |
Calculate peak quality for features in a feature table across a set of MS data files. Will only try fitting a curve in the sample with highest intensity for each molecular feature.
fastPeakShapes(rawdata, mz, ppm, rtw, workers = 1)
rawdata |
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. |
workers |
number of wprkers to use in parallel processing |
numeric vector with peak quality estimates for each feature
defined by mz
and rt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.