Converts a matrix suitable for creating an UpSet plot. tune.matrix()
helps convert matrix
object to a matrix_upset
object.
# S3 method for matrix_upset
fortify_matrix(data, ..., data_arg = NULL, call = NULL)
A matrix where each row represents an element, and each column defines a set. The values in the matrix indicate whether the element is part of the set. Any non-missing value signifies that the element exists in the set.
Arguments passed on to fortify_matrix.list_upset
mode
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.
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. 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.matrix()
Other fortify_matrix()
methods:
fortify_matrix.GISTIC()
,
fortify_matrix.MAF()
,
fortify_matrix.default()
,
fortify_matrix.list_upset()
,
fortify_matrix.matrix()
,
fortify_matrix.matrix_oncoplot()
,
fortify_matrix.phylo()