fromList {upsetjs} | R Documentation |
generates the sets from a lists object
Description
generates the sets from a lists object
Usage
fromList(
upsetjs,
value,
order.by = "cardinality",
limit = NULL,
shared = NULL,
shared.mode = "click",
colors = NULL,
c_type = NULL
)
Arguments
upsetjs |
an object of class |
value |
the list input value |
order.by |
order intersections by cardinality or name |
limit |
limit the ordered sets to the given limit |
shared |
a crosstalk shared data frame |
shared.mode |
whether on 'hover' or 'click' (default) is synced |
colors |
the optional list with set name to color |
c_type |
the combination type to use or "none" for disabling initial generation |
Value
the object given as first argument
Examples
upsetjs() %>% fromList(list(a = c(1, 2, 3), b = c(2, 3)))
[Package upsetjs version 1.11.1 Index]