View source: R/finding_peaks.R
get_peak_info | R Documentation |
Given a set of points that make up a peak, use the provided method to find the center, intensity and area of the peak.
get_peak_info(peak_data, peak_method = "lm_weighted", min_points = 4)
peak_data |
data.frame with |
peak_method |
which method to use to get information about the peak (see Details) |
min_points |
how many points have to still be in a peak to return something useful? |
This function can choose from several methods to get information about the peak. Currently available methods include:
quadratic linear fit to log-intensities, with weights for each point relative to the maximum intensity point (current default)
quadratic linear fit to log-intensities
data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.