getHighlightedPoints: Get or set points or regions for plots

View source: R/globalAccess.R

getHighlightedPointsR Documentation

Get or set points or regions for plots

Description

Get or set points or regions for plots

Usage

getHighlightedPoints(id, category = getCategory())

setHighlightedPoints(id, events, category = getCategory())

getZoom(id, category = getCategory())

setZoom(id, zoom, category = getCategory())

getSelectedPoints(id, category = getCategory())

setSelectedPoints(id, events, category = getCategory())

getLabelledPoints(id, category = getCategory())

setLabelledPoints(id, events, category = getCategory())

Arguments

id

Character: identifier

category

Character: data category

events

Integer: index of events

zoom

Integer: range of X and Y coordinates for zooming

Value

Getters return globally accessible data, whereas setters return NULL as they are only used to modify the Shiny session's state

Note

Needs to be called inside a reactive function

See Also

Other functions to get and set global variables: getClinicalMatchFrom(), getDifferentialExpression(), getDifferentialSplicing(), getGlobal(), getGroups(), getSelectedDataPanel()


nuno-agostinho/psichomics documentation built on Feb. 11, 2024, 11:16 p.m.