powered by
adds a new query to the plot
addQuery(upsetjs, name, color, elems = NULL, set = NULL)
an object of class upsetjs or upsetjs_proxy
upsetjs
upsetjs_proxy
name of the query
color of the query
the list of elems to highlight
the set name, similar to the selection
the object given as first argument
# NOT RUN { upsetjs() %>% fromList(list(a=c(1,2,3), b=c(2,3))) %>% addQuery(name="Q1", color="red", set="b") # }
Run the code above in your browser using DataLab