
Method defining points()
for the MassSpectra
class
points has no generic by default
points(x, ...)## S3 method for class 'MassSpectra':
points(x, y, ..., mzRange = c(0, 200),
normalize = FALSE)
graphic output
library(tofsimsData)
data("tofsimsData")
plot(testImage, type='l', normalize = TRUE, col = 'blue')
points(testSpectra, type = 'l', normalize = TRUE, col = 'red')
Run the code above in your browser using DataLab