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
 4
 5
 6
 7
 8
 9
10
## 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


tofsims documentation built on Nov. 8, 2020, 5:10 p.m.