View source: R/finding_peaks.R
find_peaks | R Documentation |
Uses the pracma::findpeaks
regular expression diff algorithm to find
possible peaks, then tests each one to fit to parabolic model on log-intensities,
returning the statistics about the peak.
find_peaks(mz_data, min_points = 4, n_peak = Inf, flat_cut = 0.98)
mz_data |
a data.frame of mz and intensity |
min_points |
minimum number of points to define a peak |
n_peak |
maximum number of peaks to return |
flat_cut |
minimum ratio of high points to say peak is "flat" |
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.