queryLegend | R Documentation |
renders a legend for the queries
queryLegend(upsetjs, value = TRUE)
upsetjs |
an object of class |
value |
whether to enable or disable |
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") %>% queryLegend(FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.