[R] Matrix heatmap

Petr PIKAL petr.pikal at precheza.cz
Wed May 9 09:56:11 CEST 2012


Hi

> 
> >arq <-read.table("file") 
> > arq_matrix <-data.matrix(arq) 

Are you sure that arg_matrix is numeric? Did you check it somehow?

> >dput(arq)

You forgot to include dput(arg) result. Without that only you know what 
arg is.

> > 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 this way?

Which way?

Regards
Petr

> 
> --
> View this message in context: http://r.789695.n4.nabble.com/Matrix-
> heatmap-tp4619084p4619284.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list