ComplexHeatmap icon indicating copy to clipboard operation
ComplexHeatmap copied to clipboard

Can the legend of the continuity variable be set to the style of colorsteps

Open nolanjj opened this issue 2 years ago • 2 comments

Please provide example datasets and the code you use. It will help me to understand your problem and help you!

The original legend looks like this image is colorbar

I want to use colorsteps show my continuity variable like this in ggplot2 image

How to use complexheatmap to achieve

nolanjj avatar May 31 '23 06:05 nolanjj

In Heatmap(), set as:

Heatmap(m, heatmap_legend_param=list(color_bar = "discrete"))

image

jokergoo avatar Jun 05 '23 14:06 jokergoo

cool!!!

nolanjj avatar Jun 06 '23 02:06 nolanjj