extractSetsFromDataFrame {upsetjs} | R Documentation |
extract the sets from a data frame (rows = elems, columns = sets, cell = contained)
Description
extract the sets from a data frame (rows = elems, columns = sets, cell = contained)
Usage
extractSetsFromDataFrame(
df,
attributes = NULL,
order.by = "cardinality",
limit = NULL,
colors = NULL,
store.elems = TRUE
)
Arguments
df |
the data.frame like structure |
attributes |
the optional column list or data frame |
order.by |
order intersections by cardinality or degree |
limit |
limit the ordered sets to the given limit |
colors |
the optional list with set name to color |
store.elems |
store the elements in the sets (default TRUE) |
[Package upsetjs version 1.11.1 Index]