trim_rt: Trims by retention time

Description Usage Arguments

View source: R/trimming-functions.R

Description

Removes components with retention times smaller than the user specified threshold. See remove_void_volume and CullVoidVolume for examples that use this function.

Usage

1
2
3
4
5
6
7
trim_rt(object, Peak.list, void.rt, rt.list)

## S3 method for class 'mz'
trim_rt(object, Peak.list, void.rt, rt.list = Peak.list["rt"][[1]])

## S3 method for class 'monoMass'
trim_rt(object, Peak.list, void.rt, rt.list = Peak.list["rt"][[1]])

Arguments

object

used for method dispatch. Can be any object. See usage for details

Peak.list

data frame. Must have column Correlation.stat. Should contain output columns from XCMS and CAMERA, and additional columns from match_Annotation, calc_minfrac, calc_corrstat and plot_metgroup functions.

void.rt

numeric retention time cutoff value corresponding to the LC void volume

rt.list

numeric vector containing retention times for all features or compounds


USEPA/LUMA documentation built on Aug. 29, 2020, 1:40 p.m.