queryLegend: renders a legend for the queries

View source: R/queries.R

queryLegendR Documentation

renders a legend for the queries

Description

renders a legend for the queries

Usage

queryLegend(upsetjs, value = TRUE)

Arguments

upsetjs

an object of class upsetjs or upsetjs_proxy

value

whether to enable or disable

Value

the object given as first argument

Examples

upsetjs() %>%
  fromList(list(a = c(1, 2, 3), b = c(2, 3))) %>%
  addQuery(name = "Q1", color = "red", set = "b") %>%
  queryLegend(FALSE)

upsetjs documentation built on July 13, 2022, 9:06 a.m.