filter_rois: Filter Chromatogram data to Regions of Interest (ROIs)

View source: R/filter_rois.R

filter_roisR Documentation

Filter Chromatogram data to Regions of Interest (ROIs)

Description

Filter Chromatogram data to Regions of Interest (ROIs)

Usage

filter_rois(chromdata, peaks, roi_width, x = "mz", cores = 1)

Arguments

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)

Examples

rois_sample <- chromdata_sample %>% filter_rois(peaks_master, roi_width = 4)


octopode/tidychrom documentation built on Nov. 2, 2022, 1:32 a.m.