View source: R/export_mass_dataset.R
export_mass_dataset | R Documentation |
Exports the contents of a mass_dataset
object to files. The files can be in CSV or XLSX format.
Additionally, MS2 data can be exported in MSP or MGF format.
export_mass_dataset(
object,
file_type = c("csv", "xlsx"),
ms2_file_type = c("msp", "mgf"),
path = "."
)
object |
A |
file_type |
The type of file to export the data to. Options are "csv" or "xlsx". Default is "csv". |
ms2_file_type |
The type of file to export the MS2 data to. Options are "msp" or "mgf". Default is "msp". |
path |
The directory where the exported files will be saved. Default is the current directory. |
No return value. The function writes files to disk.
Xiaotao Shen shenxt1990@outlook.com
## Not run:
# Assuming 'data' is a mass_dataset object
export_mass_dataset(data, file_type = "csv", path = "output/")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.