ToInputdata: Convert to Inputdata

Description Usage Arguments Value Author(s)

View source: R/ToInputdata.R

Description

Returns an inputdata type data frame by combining group information from groupdata with metabolites information from featuredata

Usage

1
ToInputdata(featuredata, groupdata)

Arguments

featuredata

featuredata A data frame in the featuredata format. This is a dataframe with metabolites in columns and samples in rows. Unique sample names should be provided as row names. See NormalizeMets Vignette for details.

groupdata

A data frame or a vector with group names.

Value

inputdata

A data frame in the input data format. This has sample names in the first column, group names in the second column, and the metabolite variables in the remaining columns.

Author(s)

Alysha M De Livera, Gavriel Olshansky


NormalizeMets documentation built on May 1, 2019, 10:26 p.m.