I have created a ComplexHeatmap containing 2 Heatmap
s, each with their own legend. The legend on the first Heatmap is continuous, whereas that of the second is discrete.
When I concatenate these Heatmap
s vertically, and draw
the HeatmapList
, their legends are auto-aligned to the center of the plot. Is there any way I can have these legends positioned centered to the respective heatmaps and not to the center of the plot?
This is what I have:
Here's what I'd like to have:
How can I go about solving this problem? I'd really like to avoid creating customized Legend
s if I can, but if that's what it takes, that works too.
Thank you in advance for any help/pointers!
Note: I tried adding the ComplexHeatmap
tag, but it doesn't exist yet and I don't have the reputation to create new tags yet.