powered by
Find and return local maximum of a single spectrum.
returnLocalMaxima(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)
# NOT RUN { res=makeSimulatedData(); X=res$data; groupLabel=res$label; returnLocalMaxima(X[2,]) # }
Run the code above in your browser using DataLab