setSelection {upsetjs}R 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")

[Package upsetjs version 1.11.1 Index]