View source: R/returnLocalMaxima.R
| returnLocalMaxima | R Documentation |
Find and return local maximum of a single spectrum.
returnLocalMaxima(spectrum)
spectrum |
A spectral sample in the vector format. |
list of 2: locMax (Locations of the found local maximum peaks) and pkMax (Intensities of the found local maximum peaks)
Trung Nghia Vu
res=makeSimulatedData();
X=res$data;
groupLabel=res$label;
returnLocalMaxima(X[2,])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.