Learn R Programming

upsetjs (version 1.3.1)

setSelection: 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

Value

the object given as first argument

Examples

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

# }

Run the code above in your browser using DataLab