R/selection.R
setSelection.Rd
sets the selection of the chart
setSelection(upsetjs, name = NULL)
an object of class upsetjs or upsetjs_proxy
upsetjs
upsetjs_proxy
the name of the set to select or a list with name and type
the object given as first argument
upsetjs() %>% fromList(list(a = c(1, 2, 3), b = c(2, 3))) %>% setSelection("b")