plot-PeakList-missing-method: Method 'plot()' for 'MassSpectra'

Description Usage Arguments Details Value

Description

Method defining plot() for the MassSpectra class plot has no generic by default

Usage

1
2
3
## S4 method for signature 'PeakList,missing'
plot(x, y, ..., mzRange = c(0, 200),
  plotDeriv = FALSE, plotPeaks = TRUE, plotWidths = TRUE)

Arguments

x

object of type PeakList

y

missing

...

further args

mzRange

vector or length two, indicating the mz range to be plotted

plotDeriv

boolean plot derivate if available

plotPeaks

boolean plot peaks if available

plotWidths

boolean plot peak widths if available

Details

The output of this method is adapted for plotting mass spectra. Uncalibrated data is plotted as xy plot while uncalibrated data is plotted as barplot. The parameter mzRange allows choosing the plot range directly according to the mz number (when calibrated).

Value

plot spectra with peaks and peak widths



Search within the tofsims package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.