rotate: rotate

Description Usage Arguments Value Author(s)

View source: R/clade-functions.R

Description

rotate 180 degree of a selected branch

Usage

1
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


ggtree documentation built on Nov. 15, 2020, 2:09 a.m.