Learn R Programming

ggalign (version 1.0.1)

fortify_matrix.list_upset: Build a Matrix for UpSet plot

Description

[Experimental]

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.

Usage

# S3 method for list_upset
fortify_matrix(data, mode = "distinct", ..., data_arg = NULL, call = NULL)

Arguments

data

A list of sets.

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.

...

These dots are for future extensions and must be empty.

data_arg

The argument name for data. Developers can use it to improve messages. Not used by the user.

call

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.

ggalign attributes

  • intersection_sizes: An integer vector indicating the size of each intersection.

  • set_sizes: An integer vector indicating the size of each set.

See Also

tune.list()

Other fortify_matrix() methods: fortify_matrix.GISTIC(), fortify_matrix.MAF(), fortify_matrix.default(), fortify_matrix.matrix(), fortify_matrix.matrix_oncoplot(), fortify_matrix.matrix_upset(), fortify_matrix.phylo()