Description Usage Arguments Value Examples
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.
1 2 3 |
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 |
A plot object of class ggplot or plotly
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.