View source: R/finding_peaks.R
test_peak_area_slope | R Documentation |
given an mz data.frame, test whether the non-zero intensity points account for a significant amount of area and are a certain number of points, while rejecting points that have relatively low slope on either side of the peak
test_peak_area_slope(mz_peak, min_points = 5, min_area = 0.1, max_slope = 0.1)
mz_peak |
the mz and intensity values defining the peak |
min_points |
the minimum number of points to include in the peak |
max_slope |
the maximum slope to not remove |
returns a matrix of vectors, where the vector is:
start of points
end of points
area
numeric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.