as was follows: library(gplots) arq <-read.table("r") matrix_l <-data.matrix(arq) pdf("heatmap.pdf", height = 10 , width=10)
#paleta de 10 cores - sentido branco -> preto my.colors <- colorRampPalette(c("gray100","gray90","gray80","gray70","gray60","gray50","gray40","gray30","gray20","gray10")) heatmap.2(matrix_l,dendrogram="none",trace="none",Rowv=NA, Colv=NA, col=my.colors(10),margins=c(5,10)) I would like to know how to create a graph that shows what appeared since over the other, for example, that the matrix h: RF00013 RF00014 RF00465 RF00363 RF00366 RF00364 RF00035 RF00492 RF00494 RF00502 RF00013 100.00 100.00 100.00 100.00 100.00 100.00 33.33 71.43 100.00 100.00 RF00014 100.00 100.00 100.00 100.00 100.00 100.00 100.00 100.00 100.00 100.00 RF00465 0.00 66.67 100.00 100.00 100.00 100.00 33.33 0.00 50.00 100.00 RF00363 0.00 0.00 95.00 100.00 75.00 75.00 33.33 0.00 0.00 50.00 RF00366 0.00 0.00 0.00 33.33 100.00 100.00 16.67 0.00 0.00 0.00 RF00364 0.00 0.00 35.00 0.00 75.00 100.00 33.33 0.00 0.00 0.00 RF00035 0.00 66.67 35.00 0.00 0.00 37.50 100.00 28.57 25.00 50.00 RF00492 71.43 66.67 100.00 100.00 100.00 100.00 100.00 100.00 100.00 100.00 RF00494 0.00 66.67 100.00 100.00 100.00 100.00 100.00 71.43 100.00 100.00 RF00502 0.00 0.00 90.00 66.67 0.00 75.00 33.33 0.00 25.00 100.00 I would like to know how to create a graph that shows what appeared since over the other, for example, that the matrix h: looking visually see that the family that came over the other was the RF00366 as represent this using R? , u -- View this message in context: http://r.789695.n4.nabble.com/Matrix-heatmap-tp4619084p4621593.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.