upset_query {ComplexUpset}R Documentation

Highlight chosen sets or intersections

Description

Highlight sets or intersections matching specified query.

Usage

upset_query(
  set = NULL,
  intersect = NULL,
  group = NULL,
  only_components = NULL,
  ...
)

Arguments

set

name of the set to highlight

intersect

a vector of names for the intersection to highlight; pass NA to select the empty intersection

group

name of the set to highlight when using group_by='sets'

only_components

which components to modify; by default all eligible components will be modified; the available components are 'overall_sizes', 'intersections_matrix', 'Intersection size', and any annotations specified

...
  • passed to geoms in modified components

Examples

upset_query(intersect=c('Drama', 'Comedy'), color='red', fill='red')
upset_query(set='Drama', fill='blue')

[Package ComplexUpset version 1.3.3 Index]