getPositionFromBrush.RdGet the position of the brushed area on the heatmap image
getPositionFromBrush(brush, ratio = 1)The input brush object. Assume heatmap_brush is the ID set to argument brush in plotOutput, then the value here is input$heatmap_brush.
The relative resolution. The value should the ratio between res set in makeInteractiveComplexHeatmap and 72 (res/72).
A list of length two. The two elements correspons to the coordinates of the two diagonal points.
# There is no example
NULL
#> NULL