Description Usage Arguments Value Author(s)
View source: R/Methods-MetabolomicsSet-IO.R
This function allows users to export a mSet object to an excel spreadsheet. The output is a spreadsheet with feature data on the left, sample table on the top and transposed, and the conc table in the middle.
This function uses the xlsx pacakge to write the data into excel format. Please make sure the package is pre-installed before using it.
1 2 3 | export_excel(object, file, single_sheet = TRUE,
conc_sheet_name = "intensity matrix",
samp_sheet_name = "sample info", feat_sheet_name = "features info")
|
object |
A |
file |
A character string indicates the output path. |
single_sheet |
A boolean value, whether write all data slots into a single sheet or seprate sheets. |
conc_sheet_name, samp_sheet_name, feat_sheet_name |
Character values, with each indicating the sheet name of each data slot. |
A excel spreadsheet
Chenghao Zhu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.