Hello, I am trying to put a box around 1 cell in my ComplexHeatmap in one column and a box around two proximal cells in another column. Is it possible to do this without drawing them on the plot manually? Currently Im using decorate_heatmap_body with grid.lines to draw boxes manually but I would like a better way to do this if possible.
Thanks!
1 answer
Using decorate_heatmap() should be fine, as it gives you ultimate flexibility; however, it can be cumbersome. At the end of the day, it's difficult for package developers to code for every possible eventuality. That being said, layer_fun maybe what you want:
[ source: https://jokergoo.github.io/ComplexHeatmap-reference/book/a-single-heatmap.html ]
Kevin
Log in to answer this question.
