Get the position of double clicked point on the heatmap image
Source:R/shiny-server.R
getPositionFromDblclick.RdGet the position of double clicked point on the heatmap image
Arguments
- dblclick
The input dblclick object. Assume
heatmap_dblclickis the ID set to argumentdblclickinshiny::plotOutput(), then the value here isinput$heatmap_dblclick.- ratio
The relative resolution. The value should the ratio between
resset inmakeInteractiveComplexHeatmap()and 72 (res/72).
Value
A grid::unit object of length two which are the coordinates of the double clicked points.