View source: R/write_peaktable.R
write_peaktable | R Documentation |
Exports peak table in csv
or xlsx
format according to the value
of format
.
write_peaktable(
peak_table,
path,
filename = "peak_table",
format = c("csv", "xlsx"),
what = c("tab", "pk_meta", "sample_meta", "ref_spectra", "args")
)
peak_table |
Peak table object from |
path |
Path to write file. |
filename |
File name. Defaults to "peak_table". |
format |
File format to export. Either |
what |
Which elements of the |
No return value. The function is called for its side effects.
Exports peak_table object as .csv
or .xlsx
file according to the value
of format
.
data(pk_tab)
path_out = tempdir()
write_peaktable(pk_tab, path = path_out, what = c("tab"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.