specplot: Create a basic plot of MS2 spectra

Description Usage Arguments Value Examples

View source: R/accessory_functions.R

Description

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

Usage

1

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

1
2
3
4
5
load(file = system.file("extdata",
    "annotatedSpeclist.RData",
    package = "CluMSIDdata"))

specplot(annotatedSpeclist[[1]])

CluMSID documentation built on Nov. 8, 2020, 7:46 p.m.