Get the position of hovered point on the heatmap image

getPositionFromHover(hover, ratio = 1)

Arguments

hover

The input hover object. Assume heatmap_hover is the ID set to argument hover in plotOutput, then the value here is input$heatmap_hover.

ratio

The relative resolution. The value should the ratio between res set in makeInteractiveComplexHeatmap and 72 (res/72).

Value

A unit object of length two which are the coordinates of the hover points.

Examples

# There is no example
NULL
#> NULL