R/queries.R
queryLegend.Rd
renders a legend for the queries
queryLegend(upsetjs, value = TRUE)
an object of class upsetjs or upsetjs_proxy
upsetjs
upsetjs_proxy
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)