powered by
abundances form a matrix with metabolites as rows and samples as columns. Use transpose to treat samples as rows filename
export_tomic_as_wide( tomic, dir_path, name_preamble, value_var = NULL, transpose = FALSE, verbose = TRUE )
Export one table which contains metabolites as rows and samples as columns.
Either a tidy_omic or triple_omic object
tidy_omic
triple_omic
path to save outputs
start of output file name
measurement variable to use for the matrix
if TRUE then samples will be stored as rows
extra reporting messages
if (interactive()) { export_tomic_as_wide(brauer_2008_triple, "/tmp", "brauer") }
Run the code above in your browser using DataLab