Order of rows in heatmap?

前端 未结 5 513
被撕碎了的回忆
被撕碎了的回忆 2020-12-09 06:39

Take the following code:

 heatmap(data.matrix(signals),col=colors,breaks=breaks,scale=\"none\",Colv=NA,labRow=NA)

How can I extract, pre-ca

5条回答
  •  失恋的感觉
    2020-12-09 07:12

    I agree with Jesse. For your problem take a look at the Rowv, distfun and hclustfunarguments of the heatmap function. For more choices the functions heatmap.2 in the gplots package, heatmap_plus in the Heatplus package and pheatmap in the pheatmap package could be of some use.

提交回复
热议问题