[R] manipulating data in heatmap

fjucks aldomichelato at gmail.com
Sat May 12 00:12:26 CEST 2012


but, df1 is the row and column? As the call to dput defni them?

eh my script this, but where I put these lines to order?

library(gplots)
arq <-read.table("table")
matrix_l <-data.matrix(arq)
pdf("heatmap.pdf", height = 10 , width=10)



#paleta de 10 cores - sentido branco -> preto
my.colors <-
colorRampPalette(c("gray50","gray10","gray10","gray10","gray10","gray10","gray10","gray10","gray10","gray10"))
heatmap.2(matrix_l,dendrogram="none",trace="none",Rowv=NA, Colv=NA,
col=my.colors(10),margins=c(10,10))




--
View this message in context: http://r.789695.n4.nabble.com/manipulating-data-in-heatmap-tp4627454p4627695.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list