iheatmapr_event: Access iheatmapr user input event data in shiny

View source: R/shiny.R

iheatmapr_eventR Documentation

Access iheatmapr user input event data in shiny

Description

This function must be called within a reactive shiny context.

Usage

iheatmapr_event(
  object,
  event = c("hover", "click", "relayout"),
  session = shiny::getDefaultReactiveDomain()
)

Arguments

object

Iheatmap-class object

event

The type of plotly event. Currently 'plotly_hover', 'plotly_click', 'plotly_selected', and 'plotly_relayout' are supported.

session

a shiny session object (the default should almost always be used).

Examples

## Not run: 
shiny::runApp(system.file("examples", "shiny_example", package = "iheatmapr"))

## End(Not run)

iheatmapr documentation built on Aug. 31, 2023, 1:08 a.m.