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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.