image: set a generic method for image

Description Usage Arguments Value Examples

Description

Method to visualize an IMS Mass Image of class MassImage

Usage

1
2
3
4
5
6
7
image(x, ...)

## S4 method for signature 'MassImage'
image(x, ..., mzSelect = NULL)

## S4 method for signature 'PCA'
image(x, comp, ...)

Arguments

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

Value

graphical output

image plot of the ToF SIMS image data

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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)

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