filterRT: Filter Features by Retention Time Range

View source: R/adjustData.R

filterRTR Documentation

Filter Features by Retention Time Range

Description

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

Usage

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 \le rt \le rtmax)


hhabra/Combiner documentation built on Jan. 26, 2024, 10:30 p.m.