Define appearence of the stripes

upset_stripes(
  mapping = aes(),
  geom = geom_segment(size = 7),
  colors = c("white", "grey95"),
  data = NULL
)

Arguments

mapping

additional aesthetics

geom

a geom to use, should accept x, y, xend, yend and color aesthetics

colors

a vector of colors to repeat as many times as needed for the fill of stripes, or a named vector specifying colors for values of the variable mapped to the color aesthetics in the mapping argument

data

the dataset describing the sets with a column named set and any other columns as needed for mapping