overlayPlot {tofsims} | R Documentation |
generic overlayPlot
This function takes as input a list with objects of type MassSpectra. The easiest way to obtain the input data, is to use mclapply from the parallel package.
overlayPlot(objectList, ...) ## S4 method for signature 'list' overlayPlot(objectList, ..., type = "l", mzRange = c(1, 200), PeakListObj = NULL, cex.legend = 0.5)
objectList |
list with object of type MassSpectra |
... |
additional args |
type |
character type of plot, usually 'l' |
mzRange |
vector numeric lower and upper range for plotting the spectra |
PeakListObj |
object a PeakList object can be provided to plot peaks |
cex.legend |
numeric text size |
graphical output
graphical output
Lorenz Gerber lorenz.gerber@slu.se
library(tofsimsData) data('tofsimsData') overlayPlot(list(testImage, testSpectra))