This function converts a list into a matrix format suitable for creating an
UpSet plot. It always returns a matrix for a horizontal
UpSet plot.
# S3 method for list_upset
fortify_matrix(
data,
mode = "distinct",
...,
data_arg = caller_arg(data),
call = NULL
)
A list of sets.
A string of "distinct"
, "intersect"
, or "union"
indicates the mode to define the set intersections. Check
https://jokergoo.github.io/ComplexHeatmap-reference/book/upset-plot.html#upset-mode
for details.
These dots are for future extensions and must be empty.
The argument name for data
. Developers can use it to
improve messages. Not used by the user.
The execution environment where data
and other arguments for
the method are collected, e.g., caller_env()
.
Developers can use it to improve messages. Not used by the user.
intersection_sizes
: An integer vector indicating the size of each
intersection.
set_sizes
: An integer vector indicating the size of each set.
tune.list()
Other fortify_matrix methods:
fortify_matrix.GISTIC()
,
fortify_matrix.MAF()
,
fortify_matrix.default()
,
fortify_matrix.matrix()
,
fortify_matrix.matrix_upset()
,
fortify_matrix.phylo()