Entering edit mode
4.5 years ago
manjumoorthy95
▴
60
The below image shows the type of the heatmap i want. As you can see the color key range in the heatmap is -3,3,9,15. How to achieve the same?
I have tried the break
argument in the heatmap.2() function. But the color range keeps changing from what ever break i provide. I need the exact numbers in the color key as seen in the picture.
Even in ComplexHeatmap package, when I use the
The color range is still getting divided in the heatmap automatically to
15,10,5,0,-5
. I basically want to see only the values(-3,3,9,15)
in the color range bar.You may want to look at advanced parameters or limit the data range to your specific range by trimming all values that fall outside the range.