plotPeaks.Rd
Allows visualization of the characterization results. Plots the chromatogram and the second derivative with peak boundaries illustrated.
plotPeaks(
cpc,
peakIdx,
outPath = NULL,
prefix = NULL,
device = "png",
plotEMG = FALSE,
plotXCMS = TRUE,
noPrompt = FALSE,
annotation = character(1),
...
)
A cpc
object
numeric
vector of peak indices to be plotted
(optional) Path to save plots to
(optional) Filename prefix, if NULL the filename of the raw data is used
Graphics device to be used for saving plots (default: "png")
logical
indicating if the EMG fitting results should be plotted (default: FALSE)
logical
indicating if the XCMS data should be included in the plot (default: TRUE)
logical
indicating if the prompt when many peaks are being plotted will be suppressed (default: FALSE)
(Optional) A single string or a vector of strings for each plotted peak with additional annotations for the plot
Additional parameters to be sent to the graphics device
NULL