flip {ggtree} | R Documentation |
flip position of two selected branches
flip(tree_view = NULL, node1, node2)
tree_view |
tree view (i.e. the ggtree object). If tree_view is NULL, the last ggplot will be used. |
node1 |
node number of branch 1 |
node2 |
node number of branch 2 |
ggplot2 object
Guangchuang Yu