Skip to contents

Upset plot with counts stratified by a categorical column

Usage

upset_plot(df, boolean_cols, categorical_col, lbl_size = 5)

Arguments

df

the data

boolean_cols

a tidyselect specification selecting the columns to be used as binary one-hot encoded classes

categorical_col

a column containing a disjoint category as a factor

lbl_size

font sise of the label

Value

a ggplot