setSelection: sets the selection of the chart

View source: R/selection.R

setSelectionR Documentation

sets the selection of the chart

Description

sets the selection of the chart

Usage

setSelection(upsetjs, name = NULL)

Arguments

upsetjs

an object of class upsetjs or upsetjs_proxy

name

the name of the set to select or a list with name and type

Value

the object given as first argument

Examples

upsetjs() %>%
  fromList(list(a = c(1, 2, 3), b = c(2, 3))) %>%
  setSelection("b")

upsetjs documentation built on July 13, 2022, 9:06 a.m.