repmat {EGAD} | R Documentation |
The function generates a matrix by binding the columns and rows
repmat(X, m, n)
X |
numeric matrix |
m |
numeric value, repeat rows m times |
n |
numeric value, repeat columns n times |
list of genes and the expression matrix
genes.labels <- matrix( sample( c(0,1), 1000, replace=TRUE), nrow=100) expand <- repmat( genes.labels, 1,2)