Learn R Programming

xcms (version 1.48.0)

plotEIC-methods: Plot extracted ion chromatograms for specified m/z range

Description

Plot extracted ion chromatogram for m/z values of interest. The raw data is used in contrast to plotChrom which uses data from the profile matrix.

Arguments

object
xcmsRaw object
mzrange
m/z range for EIC. Uses the full m/z range by default.
rtrange
retention time range for EIC. Uses the full retention time range by default.
scanrange
scan range for EIC
mzdec
Number of decimal places of title m/z values in the eic plot.
type
Speficies how the data should be plotted (by default as a line).
add
If the EIC should be added to an existing plot.
...
Additional parameters passed to the plotting function (e.g. col etc).

Value

A two-column matrix with the plotted points.

Methods

object = "xcmsRaw"
plotEIC(object, mzrange = numeric(), rtrange = numeric(), scanrange = numeric(), mzdec=2, type="l", add=FALSE, ...)

See Also

rawEIC,xcmsRaw-class