EnrichedHeatmap
EnrichedHeatmap copied to clipboard
How To? color top annotation lines by row_split variable?
I see that anno_enriched
's gpar parameter is used to set the color of all the lines appearing in a top_annotation
.
I would rather like each line to encode the the row_split variable (in my cases, a "cluster" identifier).
Is it possible within your framework?
Then I think you can jus set a color vector to gp
in anno_enrich()
.