Learn R Programming

CAMERA (version 1.28.0)

plotPsSpectrum-methods: Plot a Pseudospectrum

Description

Plot a pseudospectrum, with the most intense peaks labelled, to the current graphics device.

Usage

plotPsSpectrum(object, pspec=1:length(object@pspectra), log=FALSE, value="into", maxlabel=0, title=NULL,mzrange=numeric(), sleep=0, cexMulti = 1,...)

Arguments

object
the xsAnnotate object
pspec
ID of the pseudospectrum to print
log
Boolean, whether the log(intensity) should be shown
value
Which of a peak's intensities should be used
maxlabel
How many m/z labels to print
title
Main title of the Plot
mzrange
Which m/z range should plotted
sleep
Time (in seconds) to wait between successive Spectra, if multiple pspec are requested.
cexMulti
Cex multiplier for peak labels
...
Additional parameter for function plot

Value

None.

Methods

signature(object = "xsAnnotate")
object deriviving from class "xsAnnotate"

See Also

xsAnnotate-class, png, pdf, postscript,