Learn R Programming

upsetjs (version 1.11.1)

setSelection: sets the selection of the chart

Description

sets the selection of the chart

Usage

setSelection(upsetjs, name = NULL)

Value

the object given as first argument

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

Examples

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

Run the code above in your browser using DataLab