specplot {CluMSID} | R Documentation

## Create a basic plot of MS2 spectra

### Description

`specplot` creates a very basic plot of MS2 spectra from `MS2spectrum` or `pseudospectrum` objects.

### Usage

    specplot(spec, ...)

### Arguments

`spec` | An object of class `MS2spectrum` or `pseudospectrum`
`...` | Additional graphical parameters to be passed to `plot()`

### Value

A plot of the MS2 spectrum saved in the `spectrum` slot of `spec`.

### Examples

    load(file = system.file("extdata",
        "annotatedSpeclist.RData",
        package = "CluMSIDdata"))

    specplot(annotatedSpeclist[[1]])

[Package CluMSID version 1.10.0 Index]