You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a heat map that contains, from top to bottom:
anno_barplot with colors referencing a particular attribute
simple HeatmapAnnotation
simple HeatmapAnnotation
Heatmap
simple HeatmapAnnotation
simple HeatmapAnnotation
For the anno_barplot I define a Legend manually and add to the Heatmap drawing using: annotation_legend_list = lgd
However this puts the legend at the bottom of the list of legends. Is there any way to easily put it to the top? This way it is closest to the annotation it describes. Perhaps there is a way to extract the existing simple HeatmapAnnotation legends and then I can construct a list to pass to annotation_legend_list? I'd rather not manually define each legend as I'm also hoping to utilize merge_legend=TRUE.
The text was updated successfully, but these errors were encountered:
dspagnolo09
changed the title
Order of legends when using autogenerated Simpl
Order of legends when using autogenerated simple annotation legends plus customized legends
Nov 29, 2024
I have a heat map that contains, from top to bottom:
For the anno_barplot I define a Legend manually and add to the Heatmap drawing using:
annotation_legend_list = lgd
However this puts the legend at the bottom of the list of legends. Is there any way to easily put it to the top? This way it is closest to the annotation it describes. Perhaps there is a way to extract the existing simple HeatmapAnnotation legends and then I can construct a list to pass to
annotation_legend_list
? I'd rather not manually define each legend as I'm also hoping to utilizemerge_legend=TRUE
.The text was updated successfully, but these errors were encountered: