plot.rawrrSpectrum {rawrr} | R Documentation

## Basic plotting function for instances of `rawrrSpectrum`

### Description

Plot method for objects of class `rawrrSpectrum`.

### Usage

    ## S3 method for class 'rawrrSpectrum'
    plot(
      x,
      relative = TRUE,
      centroid = FALSE,
      SN = FALSE,
      legend = TRUE,
      diagnostic = FALSE,
      ...
    )

### Arguments

`x` | an object of class `rawrrSpectrum`.
`relative` | If set to `TRUE` enforces plotting of relative intensities rather than absolute.
`centroid` | Should centroided data be used for plotting?
`SN` | Should Signal/Noise be used for plotting?
`legend` | Should legend be printed?
`diagnostic` | Should this option be applied? The default is `FALSE`.
`...` | function passes arbitrary additional arguments.

### Details

`plot.rawrrSpectrum` is a low level function that calls `base::plot` for plotting `rawrrSpectrum` objects. It passes all additional arguments to `plot()`

Is usually called by method dispatch.

### Value

This function creates a plot.

### Author(s)

Tobias Kockmann, 2020.

[Package rawrr version 1.2.0 Index]