rotate_tree: rotate_tree

View source: R/layout.R

rotate_treeR Documentation

rotate_tree

Description

rotate circular tree in a certain angle

Usage

rotate_tree(treeview, angle)

Arguments

treeview

tree view in circular layout

angle

the angle of rotation

Value

updated tree view

Author(s)

Guangchuang Yu

Examples

tree <- rtree(15)
p <- ggtree(tree) + geom_tiplab()
p2 <- open_tree(p, 180)
rotate_tree(p2, 180)

GuangchuangYu/ggtree documentation built on April 12, 2024, 5:20 a.m.