nAdjPeaks {adductomicsR} | R Documentation |
remove lower intensity adjacent peaks
nAdjPeaks(peaksTmp = NULL, troughsTmp = NULL, peakRangeTmp = NULL)
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) |
peaksTmp but with lower intensity adjacent peaks between the same troughs removed