export_data: write a dataset object to file

export_xlsxR Documentation

write a dataset object to file

Description

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

Usage

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

## Not run: 
D = iris_DatasetExperiment() # example dataset
export_xlsx(D,'iris_DatasetExperiment.xlsx')

## End(Not run)

computational-metabolomics/struct documentation built on April 28, 2022, 10:43 a.m.