How can I make a heatmap with a large matrix?

前端 未结 6 1530
Happy的楠姐
Happy的楠姐 2020-12-14 03:56

I have a 1000*1000 matrix (which only includes integer 0 and 1), but when I tried to make a heatmap, an error occurs because it is too large.

How can I create a heat

6条回答
  •  隐瞒了意图╮
    2020-12-14 04:20

    You can also use heatmap.2 from the gplots package and simply turn off dendrograms, as these normally take up the most computation time (from my experience).

    Also, have you considered directly printing your heatmap to a file via pdf(), png() or jpeg()?

提交回复
热议问题