filterRT: Filter Features by Retention Time

Description Usage Arguments Details Value

View source: R/adjustData.R

Description

Restricts input metabolomics feature table in metabData object to a range of retention times defined by rtmin & rtmax.

Usage

1
filterRT(data, rtmin, rtmax)

Arguments

data

formatted metabolomics data frame.

rtmin

lower range of retention times for analysis. If "min", defaults to minimum observed retention time. .

rtmax

upper range of retention times for analysis. If "max", defaults to maximum observed retention time.

Details

Retention time restriction is often recommended to aid the analysis of comparable metabolomics datasets. The beginning and end of a chromatogram typically contain features that do not correspond with true biological compounds derived from the sample. rtmin and rtmax should be set slightly before and slightly after the first and last commonly observed metabolites, respectively.

Value

A data frame of metabolomics features, limited to time window rtmin rt rtmax)


metabCombiner documentation built on Dec. 10, 2020, 2 a.m.