export_data: write a dataset object to file

Description Usage Arguments Value Examples

Description

Exports a dataset object to an excel file with sheets for data, sample_meta and variable_meta

Usage

1
2
3
4
export_xlsx(object, outfile, transpose = TRUE)

## S4 method for signature 'DatasetExperiment'
export_xlsx(object, outfile, transpose = TRUE)

Arguments

object

a dataset object

outfile

the filename (including path) to write the data to

transpose

TRUE (default) or FALSE to transpose the output data

Value

an excel file with sheets for data and meta data

Examples

1
2
3
4
5
## Not run: 
D = iris_DatasetExperiment() # example dataset
export_xlsx(D,'iris_DatasetExperiment.xlsx')

## End(Not run)

computational-metabolomics/struct documentation built on Nov. 17, 2021, 8:57 a.m.