overlayPlot: generic overlayPlot

Description Usage Arguments Value Author(s) Examples

Description

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
overlayPlot(objectList, ...)

## S4 method for signature '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

cex.legend

numeric text size

Value

graphical output

graphical output

Author(s)

Lorenz Gerber lorenz.gerber@slu.se

Examples

1
2
3
library(tofsimsData)
data('tofsimsData')
overlayPlot(list(testImage, testSpectra))

tofsims documentation built on Nov. 8, 2020, 5:10 p.m.