asMetaboAnalyst: asMetaboAnalyst

View source: R/Functions_class_featureTable.R

asMetaboAnalystR Documentation

asMetaboAnalyst

Description

Reformat a data.frame to MetaboAnalyst csv format

Usage

asMetaboAnalyst(df, groups)

Arguments

df

data.frame with intensity values and rt and mz columns

groups

a data.frame with grouping information (Sample names in first column, groups in additional columns)

Value

A list with header and body of the MetaboAnalyst formatted table

Examples

## Not run: 
MseekExamplePreload(data = FALSE, tables = TRUE)
asMetaboAnalyst(tab1$df, groups = tab1$anagrouptable)

## End(Not run)


mjhelf/METABOseek documentation built on April 27, 2022, 5:13 p.m.