write expression matrix to file in R code example
Example: r write matrix to file
library(MASS)
mat <- matrix(1:100,nrow=20)
write.matrix(mat,'/path/to/file.txt',sep = "\t")
library(MASS)
mat <- matrix(1:100,nrow=20)
write.matrix(mat,'/path/to/file.txt',sep = "\t")