Learn R Programming

R2DGC (version 1.0.3)

MakeReference: 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

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

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

Run this code
# NOT RUN {
MakeReference(c(system.file("extdata", "Alanine_150226_1.txt", package="R2DGC"),
    system.file("extdata", "Serine_022715_1.txt", package="R2DGC")))
# }

Run the code above in your browser using DataLab