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
)

Arguments

tomic

Either a tidy_omic or triple_omic object

dir_path

path to save outputs

name_preamble

start of output file name

value_var

measurement variable to use for the matrix

transpose

if TRUE then samples will be stored as rows

verbose

extra reporting messages

Value

Export one table which contains metabolites as rows and samples as columns.

Examples


if (interactive()) {
  export_tomic_as_wide(brauer_2008_triple, "/tmp", "brauer")
}