getPositionFromDblclick.Rd
Get the position of double clicked point on the heatmap image
getPositionFromDblclick(dblclick, ratio = 1)
The input dblclick object. Assume heatmap_dblclick
is the ID set to argument dblclick
in plotOutput
, then the value here is input$heatmap_dblclick
.
The relative resolution. The value should the ratio between res
set in makeInteractiveComplexHeatmap
and 72 (res/72
).
A unit
object of length two which are the coordinates of the double clicked points.
# There is no example
NULL
#> NULL