Export features, samples and measurements tables

export_tomic_as_triple(tomic, dir_path, name_preamble, 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

verbose

extra reporting messages

Value

Export three tables:

  • features: one row per features measured (i.e., a metabolite)

  • sample: one row per sample

  • measurements: one row per measurement (i.e., one metabolite in one sample)

Examples

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