filter_peaks | R Documentation |
Utility function to remove peaks from a peak list, e.g. because their intensity is too low. Currently one can filter on peak height, peak area, standard deviation, and/or retention time.
filter_peaks(peak_list, min_height, min_area, min_sd, max_sd, min_rt, max_rt)
peak_list |
A peak_list object, consisting of a nested list of peak tables, where the first level is the sample, and the second level is the spectral component. Every component is described by a matrix where every row is one peak, and the columns contain information on retention time, full width at half maximum (FWHM), peak width, height, and area. |
min_height |
Minimum peak height. |
min_area |
Minimum peak area. |
min_sd |
Minimal standard deviation. |
max_sd |
Maximum standard deviation. |
min_rt |
Minimum retention time. |
max_rt |
Maximum retention time. |
A peak list similar to the input, with all rows removed from that do not satisfy the specified criteria.
Ron Wehrens, Ethan Bass
get_peaks
, filter_peaktable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.