Draw multiple heatmaps
3
0
Entering edit mode
9.3 years ago
anqi.liang • 0

Hi,

I used the function heatmap.2() to draw heatmaps and I want to put several heatmaps together in one plots. Could you please tell me how can I do that?

Thanks a lot

heatmap.2 R • 3.1k views
ADD COMMENT
4
Entering edit mode
9.3 years ago
poisonAlien ★ 3.2k

Best option is using ComplexHeatmap.

ADD COMMENT
0
Entering edit mode

"Best" is a strong word, but I agree that ComplexHeatmap is pretty nice.

ADD REPLY
1
Entering edit mode
9.3 years ago

It's often easier to generate figure parts (e.g. heatmaps) independently and then assemble them manually into a final figure using another software such as Inkscape or Illustrator.

ADD COMMENT
1
Entering edit mode
9.3 years ago
alolex ▴ 960

You cannot do that with heatmap.2() due to the way it lays out the graph. Try the aheatmap() function from the NMF package. You should be able to use thelayout() command with these heatmaps.

ADD COMMENT

Login before adding your answer.

Traffic: 2080 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6