Plot feature groups in the m/z-retention time space
Source:R/methods-group-features.R
plotFeatureGroups.Rd
plotFeatureGroups
visualizes defined feature groups in the m/z by
retention time space. Features are indicated by points with features from
the same feature group being connected by a line. See featureGroups()
for details on and options for feature grouping.
Arguments
- x
XcmsExperiment or
XCMSnExp()
object with grouped features (i.e. after callinggroupFeatures()
.- xlim
numeric(2)
with the lower and upper limit for the x-axis.- ylim
numeric(2)
with the lower and upper limit for the y-axis.- xlab
character(1)
with the label for the x-axis.- ylab
character(1)
with the label for the y-axis.- pch
the plotting character. Defaults to
pch = 4
i.e. plotting features as crosses. Seepar()
for more information.- col
color to be used to draw the features. At present only a single color is supported.
- type
plotting type (see
par()
). Defaults totype = "o"
which draws each feature as a point and connecting the features of the same feature group with a line.- main
character(1)
with the title of the plot.- featureGroups
optional
character
of feature group IDs to draw only specified feature group(s). If not provided, all feature groups are drawn.- ...
additional parameters to be passed to the
lines
function.