powered by
xySpec
method xySpec extracts the mass spectra of positon x/y and puts them in a MassSpectar class object
xySpec(object, x = NULL, y = NULL)## S3 method for class 'MassImage': xySpec(object, x = NULL, y = NULL)
## S3 method for class 'MassImage': xySpec(object, x = NULL, y = NULL)
library(tofsimsData) data(tofsimsData) spectra100100<-xySpec(testImage, 100,100) plot(spectra100100, type = 'l')
Run the code above in your browser using DataLab