upset_query: Highlight chosen sets or intersections

Description Usage Arguments Examples

View source: R/upset.R

Description

Highlight sets or intersections matching specified query.

Usage

1
2
3
4
5
6
7
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

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

ComplexUpset documentation built on Dec. 11, 2021, 5:07 p.m.