filter_rois | R Documentation |
Filter Chromatogram data to Regions of Interest (ROIs)
filter_rois(chromdata, peaks, roi_width, x = "mz", cores = 1)
chromdata |
A tibble of chromatography data |
peaks |
A tibble of peak RTs on which to center the ROIs. Should also contain an x-axis column (e.g. mz or wl) |
roi_width |
Width of ROIs to generate, in seconds |
x |
Name of the x-axis column, like "mz" or "wl" |
cores |
Number of cores to use for parallel ops on the input list. Only beneficial in huge tables (1E7s of rows) |
rois_sample <- chromdata_sample %>% filter_rois(peaks_master, roi_width = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.