plotPseudoSpectrum: Plot a pseudospectrum.

View source: R/plotPseudoSpectrum.R

plotPseudoSpectrumR Documentation

Plot a pseudospectrum.

Description

Auxiliary function for plotting a particular pseudospectrum. M/z values are in the first column of the matrix, and an intensity measure (either maxo, into or something else) in the second. The third column is disregarded, usually contains retention time information

Usage

plotPseudoSpectrum(psspc, ...)

Arguments

psspc

Pseudospectrum, consisting of a two- or three-column matrix. The first column contains the m/z values, the second the intensities. A third column containing retention time information may be present, but is not used in this function.

...

Additional graphical parameters.

Details

A stick spectrum is shown on the graphical device.

Value

A three column matrix m/z and Intensity and Retention time.

Author(s)

Ron Wehrens

Examples

data("threeStdsDB")
plotPseudoSpectrum(DB[[1]]$pspectrum)

rwehrens/metaMS documentation built on Feb. 27, 2023, 5:13 a.m.