Re: [R] manipulating data in heatmap

2012-05-11 Thread fjucks
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 <- c

[R] manipulating data in heatmap

2012-05-11 Thread fjucks
manipulating data in heatmap, have the following data: RF00505 RF00232 RF00493 RF00231 RF00505100.00 20.00 0.00 0.00 RF00232100.00 00.00100.00 100.00 RF00493100.00 60.00100.00 33.33 RF0023

Re: [R] Matrix heatmap

2012-05-10 Thread fjucks
how do I plot only the data below 10? everything is white for the 0-10 and 10-90 is black .. those functions which do this? was bad for such basic questions, but I started tinkering with R is 6 days -- View this message in context: http://r.789695.n4.nabble.com/Matrix-heatmap-tp4619084p4625021.ht

Re: [R] Matrix heatmap

2012-05-09 Thread fjucks
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")) h

Re: [R] Matrix heatmap

2012-05-09 Thread fjucks
last doubts, how do I remove these trace that sits on top of colors? -- View this message in context: http://r.789695.n4.nabble.com/Matrix-heatmap-tp4619084p4621466.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org m

Re: [R] Matrix heatmap

2012-05-09 Thread fjucks
I think it worked here, the data of 25 families are wrong, I'll pack up and post already! earned -- View this message in context: http://r.789695.n4.nabble.com/Matrix-heatmap-tp4619084p4621364.html Sent from the R help mailing list archive at Nabble.com. _

Re: [R] Matrix heatmap

2012-05-09 Thread fjucks
http://r.789695.n4.nabble.com/file/n4621356/Captura_de_tela-13.png The heat map generated the correct result: library(gplots) arq <-read.table("l") matrix_l <-data.matrix(arq) my.colors <- colorRampPalette(c("gray0","gray10","gray20","gray30","gray40","gray50","gray60","gray80","gray90","gray100

Re: [R] Matrix heatmap

2012-05-09 Thread fjucks
I just do not understand what these parameters that must pass the heat map -- View this message in context: http://r.789695.n4.nabble.com/Matrix-heatmap-tp4619084p4620958.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project

Re: [R] Matrix heatmap

2012-05-09 Thread fjucks
>arq <-read.table("file") > arq_matrix <-data.matrix(arq) >dput(arq) > arq_heatmap <- heatmap(arq_matrix, Rowv = NA, Colv = NA,col = heat.colors > (256), scale = "column", margins =c(5,10)) dput done with this command, but still gave the same .. I do it before generating the heatmap? would be

Re: [R] Matrix heatmap

2012-05-09 Thread fjucks
this would be the same, like, I need color higher for larger numbers, type, variations of 5 om 5, for example, 0 is white, a little darker 1-5, 6-10 darker still, and so on ... -- View this message in context: http://r.789695.n4.nabble.com/Matrix-heatmap-tp4619084p4619334.html Sent from the R hel

Re: [R] Matrix heatmap

2012-05-08 Thread fjucks
I used only these three command lines in R >arq <-read.table("file") > arq_matrix <-data.matrix(arq) > arq_heatmap <- heatmap(arq_matrix, Rowv = NA, Colv = NA,col = cm.colors > (256), scale = "column", margins =c(5,10)) Excuse me if poorly written, because I'm Brazilian -- View this messa

[R] Matrix heatmap

2012-05-08 Thread fjucks
I would like to organize my data as follows: I have a table that contains various data, and the numbers represent a level of similarity between these data, eg RF00013 has 100% similarity with the data RF00014. I would leave my table as a heatmap where darker colors represent higher similarity, a