open_tree: open_tree

View source: R/layout.R

open_treeR Documentation

open_tree

Description

transform a tree in either rectangular or circular layout into the fan layout that opens with a specific angle

Usage

open_tree(treeview, angle)

Arguments

treeview

tree view in rectangular/circular layout

angle

open the tree at a specific angle

Value

updated tree view

Author(s)

Guangchuang Yu

Examples

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

GuangchuangYu/ggtree documentation built on Oct. 31, 2024, 10:10 a.m.