talgalili / d3heatmap

A D3.js-based heatmap htmlwidget for R
Other
236 stars 95 forks source link

Correlation distance #27

Closed ghost closed 9 years ago

ghost commented 9 years ago

Can the distance for clustering be generated based on pearson correlation?

jcheng5 commented 9 years ago

The distfun argument can be used for this. Here's an example for heatmap.2 (d3heatmap works the same way):

https://stat.ethz.ch/pipermail/bioconductor/2009-July/028898.html