rotate {ggtree}R Documentation

rotate

Description

rotate 180 degree of a selected branch

Usage

rotate(tree_view = NULL, node)

Arguments

tree_view

tree view (i.e. the ggtree object). If tree_view is NULL, the last ggplot will be used.

node

internal node number to specify a clade. If NULL, using the whole tree

Value

ggplot2 object

Author(s)

Guangchuang Yu


[Package ggtree version 3.1.6 Index]