specplot: Create a basic plot of MS2 spectra

View source: R/accessory_functions.R

specplotR 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]])


tdepke/CluMSID documentation built on April 10, 2022, noon