upset_text_percentage: Generate percentage label of the intersection/union sizes...

Description Usage Arguments Examples

View source: R/upset.R

Description

For use together with intersection_size or intersection_ratio

Usage

1
upset_text_percentage(digits = 0, sep = "", mode = "distinct")

Arguments

digits

How many digits to show when rounding the percentage?

sep

set to space (' ') if you prefer a whitespace between the number and the \% sign.

mode

region selection mode for computing the numerator in ratio. See get_size_mode() for accepted values.

Examples

1
ggplot2::aes(label=!!upset_text_percentage())

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