Description Usage Arguments Value Examples
generic method to obtain imageMatrix
Method imageMatrix for class MassImage
1 2 3 4 5 6 7 | imageMatrix(object, ...)
## S4 method for signature 'MassImage'
imageMatrix(object)
## S4 method for signature 'PCA'
imageMatrix(object, comp, ...)
|
object |
object of class MassImage |
... |
additional args |
comp |
numeric which component |
numeric matrix
matrix numeric
1 2 3 4 5 6 7 8 | library(tofsimsData)
data(tofsimsData)
## the TIC matrix can be extracted
dataMatrix <- imageMatrix(testImage)
dim(dataMatrix)
## the matrix can be visualized with the
## normal image() function
image(dataMatrix)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.