SetContrastDistMat,tpcaResult-method | R Documentation |
Set ContrastDistMat
## S4 method for signature 'tpcaResult'
SetContrastDistMat(object, mat)
object |
and object of class tpcaResult |
mat |
matrix containg contrast distance matrix to set |
a data frame containing the results from a tpca analysis
m1 <- matrix(1:12, ncol = 4)
m2 <- matrix(2:13, ncol = 4)
m3 <- matrix(c(2:10, 1:7), ncol = 4)
rownames(m1) <- 1:3
rownames(m2) <- 2:4
rownames(m3) <- 2:5
mat_list <- list(
m1, m2, m3
)
tpcaObj <- new("tpcaResult", ObjList = mat_list)
SetContrastDistMat(tpcaObj, matrix(c(0, 1, 0, 1), ncol = 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.