fortify_matrix.phylo {ggalign} | R Documentation |
Build a matrix from phylo
object
Description
This method allows a phylo
object to be
directly input into stack_discrete()
or circle_discrete()
. This makes it
possible to add align_phylo()
to the stack independently, as
align_phylo()
requires the layout to have labels.
Usage
## S3 method for class 'phylo'
fortify_matrix(data, ..., data_arg = caller_arg(data), call = NULL)
Arguments
data |
A |
... |
These dots are for future extensions and must be empty. |
data_arg |
The argument name for |
call |
The execution environment where |
Value
A one-column matrix where the tip labels are the values, and the row names will also be the tip labels.
See Also
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.matrix_upset()