Export.Annotation: Export.Annotation

View source: R/Perform_functions.R

Export.AnnotationR Documentation

Export.Annotation

Description

Export.Annotation is used to export the result of annotation

Usage

Export.Annotation(mSet = NULL, path = getwd())

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

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 March 27, 2024, 11:11 a.m.