plotChrom-methods {xcms} | R Documentation

## Plot extracted ion chromatograms from the profile matrix

### Description

Uses the pre-generated profile mode matrix to plot averaged or base peak extracted ion chromatograms over a specified mass range.

### Arguments

`object` | the `xcmsRaw` object
`base` | logical, plot a base-peak chromatogram
`ident` | logical, use mouse to identify and label peaks
`fitgauss` | logical, fit a gaussian to the largest peak
`vline` | numeric vector with locations of vertical lines
`...` | arguments passed to `profRange`

### Value

If `ident == TRUE`, an integer vector with the indecies of the points that were identified. If `fitgauss == TRUE`, a `nls` model with the fitted gaussian. Otherwise a two-column matrix with the plotted points.

### Methods

object = "xcmsRaw"

  `plotChrom(object, base = FALSE, ident = FALSE, fitgauss = FALSE, vline = numeric(0), ...)`

### See Also

`xcmsRaw-class`

[Package xcms version 3.6.2 Index]