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.
Usage
overlayPlot(objectList, ...)
## S3 method for class 'list':
overlayPlot(objectList, ..., type = "l", mzRange = c(1,
200), PeakListObj = NULL, cex.legend = 0.5)
Arguments
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