known_metabolites: Known metabolites in the dataset

Description Usage Arguments Value Examples

View source: R/known_metabolites.R

Description

The function compares retention time and mass of metabolites contained in a given template with features in the feature table.

Usage

1
known_metabolites(feature_table_complete, metabolites)

Arguments

feature_table_complete

A dataframe containing feature in rows and samples in columns. First, second and third columns need to be the feature ID, mass and retention time (min). column needs

metabolites

A dataframe with metabolites containing a "mz" (mass) and "rt" (retention time in min) columns.

Value

The same feature table with an extra column with matched metabolites

Examples

1
2
3
4
5
## Not run: 
FT <- known_metabolites(feature_table_complete, metabolites)
head(FT)

## End(Not run)

sipss/AlpsLCMS documentation built on May 13, 2021, 6:18 p.m.