hypothesisOnOff: Turn On/Off Annotations Feature

View source: R/initialize.R

hypothesisOnOffR Documentation

Turn On/Off Annotations Feature

Description

Generates button that allows to turn on and turn off annotations tool.

Usage

hypothesisOnOff(
  initShow = TRUE,
  labelShow = "Enable Annotations",
  labelHide = "Disable Annotations"
)

Arguments

initShow

Define initial state of annotations. When FALSE, annotations are turned off.

labelShow, labelHide

Label to be shown in the button when annotations are hidden and shown respectively.

Value

A 'button' shiny.tag object, responsible for enabling/disabling of the package functionality.


hypothesis documentation built on July 26, 2023, 5:26 p.m.