Description Usage Arguments Value
Detect peaks from a Rcpp::NumericVector object and returns data in a R matrix. This method is only exported to be use by R function DetectPeaks which is an actual R function. The returned peak positions follows C indexing style, this is starts with zero.
1 | DetectPeaks_C(mass, intensity, SNR = 5, WinSize = 20L, UpSampling = 10L)
|
mass |
a NumericVector containing the mass axis of the spectrum. |
intensity |
a NumericVector where peaks must be detected. |
SNR |
Only peaks with an equal or higher SNR are retained. |
WinSize |
The windows used to detect peaks and caculate noise. |
UpSampling |
the oversampling used for acurate mass detection and area integration. |
a NumerixMatrix of 5 rows corresponding to: mass, intensity of the peak, SNR, area and binSize.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.