read_matrix | R Documentation |
also converts that matrix to a sparse matrix
read_matrix(mat)
mat |
a boolean mutational matrix |
the sparse mutational matrix to be used as CIMICE's input
m <- matrix(c(0,0,1,1,0,1,1,1,1), ncol=3) colnames(m) <- c("A","B","C") rownames(m) <- c("S1", "S2", "S3") read_matrix(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.