The ComplexHeatmap documenation, under 'Making a list of Heatmaps' states that:
"Under default mode, dendrograms from the second heatmap will be removed and row orders will be same as the first one."
Is it possible to draw multiple heatmaps from a HeatMapList side by side while retaining the original dendrogram and row order of each heatmap?
I know I can display the row order of each heatmap at a time by modifying the main_heatmap parameter, e.g.:
But since I am interested in comparing the row order of the same data under different clustering methods, it would be much more convenient if I could draw the two heatmaps side by side.
I tried using:
layout(mat=matrix(1,2,ncol=2)) draw(ht1) draw(ht2)
But it seems that draw() suppress layout().
Thanks in advance