R/data.R
fromDataFrame.Rd
extract the sets from a data frame (rows = elems, columns = sets, cell = contained)
fromDataFrame(
upsetjs,
df,
attributes = NULL,
order.by = "cardinality",
limit = NULL,
shared = NULL,
shared.mode = "click",
colors = NULL,
c_type = NULL,
store.elems = TRUE,
order.sets.by = NULL
)
an object of class upsetjs
or upsetjs_proxy
the data.frame like structure
the optional column list or data frame
order intersections by cardinality or degree
limit the ordered sets to the given limit
a crosstalk shared data frame
whether on 'hover' or 'click' (default) is synced
the optional list with set name to color
the combination type to use
whether to store the set elements within the structures (set to false for big data frames)
optional other ordering for sets
the object given as first argument