powered by
configure the generation of the unions
generateUnions( upsetjs, min = 0, max = NULL, empty = FALSE, order.by = "cardinality", limit = NULL, colors = NULL )
the object given as first argument
an object of class upsetjs or upsetjs_proxy
upsetjs
upsetjs_proxy
minimum number of sets in an union
maximum number of sets in an union
whether to include empty intersections or not
order intersections by cardinality, degree, name or a combination of it
limit the number of intersections to the top N
the optional list with set name to color
upsetjs() %>% fromList(list(a = c(1, 2, 3), b = c(2, 3))) %>% generateUnions()
Run the code above in your browser using DataLab