Export.Annotation: Export.Annotation

Description Usage Arguments Value Author(s) See Also Examples

View source: R/Perform_functions.R

Description

Export.Annotation is used to export the result of annotation

Usage

1

Arguments

mSet

mSet object, processed by FormatPeakList.

path

character, used to specify the path for result rds and csv file. Default is the working directory.

Value

will save annotated_peaklist.rds and annotated_peaklist.csv into working path

Author(s)

Zhiqiang Pang zhiqiang.pang@mail.mcgill.ca, Jeff Xia jeff.xia@mcgill.ca

See Also

ExecutePlan and PerformPeakProfiling for the whole pipeline.

Examples

1
2
3
4
5
data(mSet)
Export.Annotation(mSet, path = tempdir())
# delete the exported files from the tempdir with unlink
unlink(paste0(tempdir(),"/annotated_peaklist.csv"), recursive = TRUE, force = TRUE);
unlink(paste0(tempdir(),"/annotated_peaklist.rds"), recursive = TRUE, force = TRUE)

xia-lab/OptiLCMS documentation built on Sept. 6, 2021, 12:36 a.m.