Take the following code:
heatmap(data.matrix(signals),col=colors,breaks=breaks,scale=\"none\",Colv=NA,labRow=NA)
How can I extract, pre-ca
pheatmap will allow you to specify the method that it uses to do the clustering, accepting the same arguments as hclust.