R/data.R
fromExpression.Rd
generates the sets from a lists object that contained the cardinalities of both sets and combinations (&)
fromExpression(
upsetjs,
value,
symbol = "&",
order.by = "cardinality",
colors = NULL,
type = "intersection"
)
an object of class upsetjs
or upsetjs_proxy
the expression list input
the symbol how to split list names to get the sets
order intersections by cardinality or name
the optional list with set name to color
the type of intersections this data represents (intersection,union,distinctIntersection)
the object given as first argument