addQuery | R Documentation |
adds a new query to the plot
addQuery(upsetjs, name, color, elems = NULL, set = NULL)
upsetjs |
an object of class |
name |
name of the query |
color |
color of the query |
elems |
the list of elems to highlight |
set |
the set name, similar to the selection |
the object given as first argument
upsetjs() %>% fromList(list(a = c(1, 2, 3), b = c(2, 3))) %>% addQuery(name = "Q1", color = "red", set = "b")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.