MakeReference: This function takes input chromatof files from metabolite...

Description Usage Arguments Value Examples

View source: R/MakeReference.R

Description

This function takes input chromatof files from metabolite standards and parses them into a dataframe of retention time indexed standards that can be used as an input for ConsensusAlign function

Usage

1
MakeReference(inputFileList, RT1_Standards = NULL, RT2_Standards = NULL)

Arguments

inputFileList

A character vector of full file paths to the metabolite standard chromatof files to include in library.

RT1_Standards

A character vector with the name of all first retention time standards to use to index metabolites. Defaults to NULL.

RT2_Standards

A character vector with the name of all second retention time standards to use to index metabolites. Defaults to NULL.

Value

Returns a list with a retention standard indexed metabolite library that can be used in the standard library argument of the ConsensusAlign function

Examples

1
2
MakeReference(c(system.file("extdata", "Alanine_150226_1.txt", package="R2DGC"),
    system.file("extdata", "Serine_022715_1.txt", package="R2DGC")))

HudsonAlpha/R2DGC documentation built on May 6, 2019, 3:26 p.m.