generateUnions | R Documentation |
configure the generation of the unions
generateUnions( upsetjs, min = 0, max = NULL, empty = FALSE, order.by = "cardinality", limit = NULL, colors = NULL )
upsetjs |
an object of class |
min |
minimum number of sets in an union |
max |
maximum number of sets in an union |
empty |
whether to include empty intersections or not |
order.by |
order intersections by cardinality, degree, name or a combination of it |
limit |
limit the number of intersections to the top N |
colors |
the optional list with set name to color |
the object given as first argument
upsetjs() %>% fromList(list(a = c(1, 2, 3), b = c(2, 3))) %>% generateUnions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.