[R] When scale is applied in heatmap

Witold E Wolski wewolski at gmail.com
Mon Aug 5 10:17:01 CEST 2013


When clustering I would do something like

plot(hclust(dist(scale(X))))


In case of  heatmap and heatmap.2 it seems to me that for the dendrograms
plot(hclust(dist(X)))
is done
while for the heatmap
image(scale(X)) is done.

I would say this is a bug however, because this is consistent among
the heatmap functions, can anyone enlighten me why this is so?





-- 
Witold Eryk Wolski



More information about the R-help mailing list