selectPeaks(o, ...)
"selectPeaks"(o, good = FALSE, bad = FALSE, cleaned = FALSE, best = FALSE)
"selectPeaks"(o, ...)
msmsWorkspace
or aggregate data.frame
from a workspace.TRUE
, include good (matched within filter criteria) peaks.TRUE
, include bad (not matched within filter criteria) peaks. Note: good
and bad
can be
combined, both are returned in that case.TRUE
, return only peaks which passed the noise filter. Note: If the noise filter was not applied, the
parameter has no effect. Also, a noise
column is in any case added to the output, even if not present before.TRUE
, only select the best match for each peak (i.e. the formula with smallest delta ppm). Otherwise multiple
matches can be returned.data.frame
: A method to retrieve the specified peaks from the "aggregated" slot (a data.frame object) in an msmsWorkSpace msmsWorkspace
: A method to retrieve the specified peaks from an msmsWorkSpace