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/Mosaic documentation built on April 28, 2022, 11:32 a.m.