Learn R Programming

metaMS (version 1.8.0)

plotPseudoSpectrum: 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.

Examples

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

Run the code above in your browser using DataLab