display a matrix, including the values, as a heatmap

后端 未结 6 1074
悲&欢浪女
悲&欢浪女 2020-12-05 13:29

What I\'d like to do is take this matrix:

> partb
                0.5  1.5   1a   1b   -2   -3
A1FCLYRBAB430F 0.26 0.00 0.74 0.00 0.00 0.00
A1SO604B523Q6         


        
6条回答
  •  南方客
    南方客 (楼主)
    2020-12-05 14:08

    Try heatmap.2 from the gplots package. The cellnote and notecol parameters control the text placed in cells. You'll probably want dendrogram = "none" as well.

提交回复
热议问题