filterRT {metabCombiner} | R Documentation

## Filter Features by Retention Time

### 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` ≤ rt ≤ `rtmax`)

[Package metabCombiner version 1.2.2 Index]