[R] heatmap not symmetric ?

Liaw, Andy andy_liaw at merck.com
Thu Jun 23 14:36:58 CEST 2005


> From: Charles Plessy
> 
> Dear list,
> 
> I hope it is not a FAQ, but I searched the archives and Google, and
> found nothing. The question is simple :
> 
> I do not understand why, starting from a symmetrical 
> correlation matrix,
> heatmap produces an asymmetrical image.

Umm... because you haven't read the help page for heatmap carefully enough?
It says:

symm    logical indicating if x should be treated symmetrically; can only be
true when x is a square matrix. 

I believe Martin added this after some discussion on R-help.

Andy


> Best,
> 
> Charles
> 
> -- 
> Charles Plessy, Ph.D. - Genome Science Laboratory
> The Institute for Physical and Chemical Research (RIKEN)
> 2-1 Hirosawa, Wako, Saitama 351-0198, Japan
> Fax: 048-462-4686  --  Tel: 048-467-9515
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
> 
>




More information about the R-help mailing list