Learn R Programming

MetaboAnalystR (version 2.0.0)

PerformPeakProfiling: Perform peak annotation This function performs feature extraction of user's raw MS data using the rawData object created using the InspectRawMSData function.

Description

Perform peak annotation This function performs feature extraction of user's raw MS data using the rawData object created using the InspectRawMSData function.

Usage

PerformPeakProfiling(rawData, peakParams, rtPlot = TRUE,
  pcaPlot = TRUE, labels = TRUE, format = "png", dpi = 72,
  width = 9)

Arguments

rawData

The object created using the InspectRawMSData function, containing the raw MS data.

peakParams

The object created using the SetPeakParam function, containing user's specified or default parameters for downstream raw MS data pre-processing.

rtPlot

Logical, if true creates a plot of retention time correction. Defaut is set to true.

pcaPlot

Logical, if true creates a PCA plot to evaluate the sample grouping. Default is set to true.

labels

Logical, if true, the PCA plot will be annotated with sample names.

format

Character, input the format of the image to create.

dpi

Numeric, input the dpi of the image to create.

width

Numeric, input the width of the image to create.