Description Usage Arguments Value
true peak and trough detection
1 2 | truePeakTrough(peaksTmp = NULL, troughsTmp = NULL, peakRangeTmp =
NULL, minRes = 50, lrRes = FALSE)
|
peaksTmp |
character vector with indices of detected peaks from findPeaks |
troughsTmp |
character vector with indices of detected troughs from findPeaks |
peakRangeTmp |
matrix of the peak range data with at least 3 columns (1. mass-to-charge, 2. intensity, 3. retention time) |
minRes |
numeric minimum percentage left/right resolution |
lrRes |
logical if true both the left and right troughs must be above the minRes else the peak will be discounted. (default = FALSE i.e. if only the left or right trough is less than minRes then the peak will be retained) |
a named numeric of both the peaks and troughs fitting the criteria.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.