PlotChromPeak: Plot the chromatographic peaks of class peakObj

Description Usage Arguments Value Examples

Description

The function takes a peak group of class peakObj as input and plots its chromatogram. It can generate a static (ggplot) or interactive (plotly) plot.

Usage

1
2
3
PlotChromPeak(peak, plottype = c("ggplot", "plotly"), split.label = TRUE,
  endogenous.label = "light", standard.label = "heavy",
  transition.list = NULL, label.list = NULL, font.size = 20, ...)

Arguments

peak

A peak group of class peakObj

plottype

This parameter can take values of "ggplot" for static and "plotly" for interactive plots

split.label

A logical parameter. If split.label = TRUE, the peaks corresponding to different isotope label types will be split into two panels

endogenous.label

Label of the endogenous analyte: default is "light"

standard.label

Label of the spiked-in isotopically labeled analyte: default is "heavy"

transition.list

List of transitions to be plotted. If transition.list = NULL, all transitions will be plotted. Example: transition.list = c("b3","y4")

label.list

List of isotope label types to be plotted. If label.list = NULL, all isotope label types will be plotted. Example: label.list = c("light")

font.size

Font size of text in the plot

Value

A plot object of class ggplot or plotly

Examples

1
2
3
peak <- data.CSF$data$PeakGroup[[1]]
PlotChromPeak(peak,transition.list = c("b5","y6"), label.list = NULL,split.label = FALSE)
PlotChromPeak(peak,split.label = TRUE)

shadieshghi/TargetedMSQC documentation built on May 13, 2019, 12:20 p.m.