| as.matrix.GctMatrix | R Documentation |
Coerce a GctMatrix object into a matrix
## S3 method for class 'GctMatrix'
as.matrix(x, ...)
x |
A GctMatrix object |
... |
Not used |
A matrix with a desc attribute
m1 <- matrix(1:6, nrow=3, dimnames=list(sprintf("G%d", 1:3), sprintf("S%d", 1:2)))
gm1 <- GctMatrix(m1, desc=sprintf("Gene%d", 1:3))
print(gm1)
print(as.matrix(gm1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.