| filter_peaktable | R Documentation | 
Utility function to remove peaks from peak table, e.g. because their intensity is too low. Currently one can filter on mean or median peak intensity, or retention time.
filter_peaktable(
  peak_table,
  rts,
  min_rt,
  max_rt,
  min_value,
  comp,
  what = c("median", "mean"),
  tol = 0
)
| peak_table | A peak_table object from  | 
| rts | Vector of retention times to include in the peak table. | 
| min_rt | Minimum retention time to include in the peak table. | 
| max_rt | Maximum retention time to include in the peak table. | 
| min_value | Minimal cutoff for average peak intensity. | 
| comp | Component(s) to include in peak table (e.g. wavelengths if you are using HPLC-DAD/UV). | 
| what | Whether to average intensities using  | 
| tol | Tolerance for matching of retention times to  | 
A peak table similar to the input, with all columns removed from the peak table that do not satisfy the specified criteria.
Ethan Bass
get_peaktable, filter_peaks
data(pk_tab) pk_tab <- filter_peaktable(pk_tab, min_rt = 10, max_rt = 16)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.