| GctMatrix | R Documentation |
Create a GctMatrix object
GctMatrix(matrix, desc)
matrix |
A numeric matrix |
desc |
Character vector of feature description, length must equal nrow of the matrix |
A GctMatrix object
m1 <- matrix(1:6, nrow=3, dimnames=list(sprintf("G%d", 1:3), sprintf("S%d", 1:2)))
m2 <- matrix(c(9:7, 12:10), nrow=3, dimnames=list(sprintf("G%d", 3:1), sprintf("S%d", 3:4)))
gm1 <- GctMatrix(m1, desc=sprintf("Gene%d", 1:3))
gm2 <- GctMatrix(m2, desc=sprintf("Gene%d", 3:1))
print(gm1)
print(gm2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.