UpSet.js Combination Modes

t <- tribble(
  ~set1, ~set2, ~set3,
  1, 1, 0,
  0, 0, 1,
  0, 1, 1,
  0, 0, 1,
  0, 0, 1,
  0, 1, 1,
  1, 0, 1,
  0, 1, 1,
  0, 0, 1,
  0, 0, 1,
  1, 1, 1,
  1, 0, 0,
  0, 0, 1,
  0, 1, 0,
  1, 1, 1,
  0, 1, 0,
  0, 1, 1,
  0, 1, 0,
  0, 0, 1,
  0, 0, 1
)

Intersection Mode

Union Mode

Distinct Intersection Mode