getPositionFromDblclick: Get the position of double clicked point on the heatmap image

View source: R/shiny-server.R

getPositionFromDblclickR Documentation

Get the position of double clicked point on the heatmap image

Description

Get the position of double clicked point on the heatmap image

Usage

getPositionFromDblclick(dblclick, ratio = 1)

Arguments

dblclick

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

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 double clicked points.

Examples

# There is no example
NULL


jokergoo/InteractiveComplexHeatmap documentation built on Feb. 28, 2024, 7:34 p.m.