Description Usage Arguments Value
View source: R/plotPeakwidth.R
For a single ROI, plot the peak value and peakwidth (RT, m/z, ...) of detected peaks across multiple samples, by acquisition time or in input order. If rotateAxis=FALSE
x is run order / plot order, y is the apexValue
/ widthMin
/ widthMax
, if rotateAxis=TRUE
x is the measurement values and y the run order.
1 2 3 |
apexValue |
(float) vector of apex value |
widthMin |
(float) vector of detected peak minimum peakwidth value or NULL (if NULL no peakwidth) |
widthMax |
(float) vector of detected peak maximum peakwidth value or NULL (uf NULL no peakwidth) |
acquTime |
(POSIXct) vector of sample acquisition time as POSIXct or NULL (if NULL points are plotted in the order values are passed as input with the first on top or left) |
varName |
(str) Name of the variable to plot |
sampleColour |
(str) NULL or vector colour for each sample (same length as |
rotateAxis |
(bool) if TRUE x and y axis are reversed |
verbose |
(bool) if TRUE message when NA scans are removed |
Grob (ggplot object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.