image {tofsims} | R Documentation |
set a generic method for image
Method to visualize an IMS Mass Image of class MassImage
image for PCA class type loading plots
image(x, ...) ## S4 method for signature 'MassImage' image(x, ..., mzSelect = NULL) ## S4 method for signature 'PCA' image(x, comp, ...)
x |
object object with image data |
... |
additional args |
mzSelect |
vector, which m/z to combine for visualization. if none are chosen, the TIC is shownhel |
comp |
numeric which component to visualize |
graphical output
image plot of the ToF SIMS image data
testImage<-MassImage('dummy') image(testImage) ## Not run: library(tofsimsData) data(tofsimsData) image(testImage) ## End(Not run) library(tofsimsData) data(tofsimsData) testImage<-PCAnalysis(testImage,3) image(analysis(testImage, 1), comp = 1)