Various parsing and plotting functions for the analysisInfo data.frame.
# S4 method for class 'data.frame'
getTICs(obj, retentionRange = NULL, MSLevel = 1)
# S4 method for class 'data.frame'
getBPCs(obj, retentionRange = NULL, MSLevel = 1)
# S4 method for class 'data.frame'
plotTICs(
obj,
retentionRange = NULL,
MSLevel = 1,
retMin = FALSE,
title = NULL,
colourBy = c("none", "analyses", "rGroups"),
showLegend = TRUE,
xlim = NULL,
ylim = NULL,
...
)
# S4 method for class 'data.frame'
plotBPCs(
obj,
retentionRange = NULL,
MSLevel = 1,
retMin = FALSE,
title = NULL,
colourBy = c("none", "analyses", "rGroups"),
showLegend = TRUE,
xlim = NULL,
ylim = NULL,
...
)
An analysisInfo
data.frame object as obtained by generateAnalysisInfo function.
Range of retention time (in seconds), m/z, respectively. Should be a numeric vector with length of two containing the min/max values. The maximum can be Inf to specify no maximum range. Set to NULL to skip this step.
Integer vector with the ms levels (i.e., 1 for MS1 and 2 for MS2) to obtain traces.
Plot retention time in minutes (instead of seconds).
Character string used for title of the plot. If NULL
a title will be automatically generated.
Sets the automatic colour selection: "none" for a single colour or "analyses"/"rGroups" for a distinct colour per analysis or analysis replicate group.
Plot a legend if TRUE.
Sets the plot size limits used by
plot
. Set to NULL
for automatic plot sizing.
Further arguments passed to plot
.
getTICs(data.frame)
: Obtain the total ion chromatogram/s (TICs) of the analyses.
getBPCs(data.frame)
: Obtain the base peak chromatogram/s (BPCs) of the analyses.
plotTICs(data.frame)
: Plots the TICs of the analyses.
plotBPCs(data.frame)
: Plots the BPCs of the analyses.