update-TREE: %<%

Description Usage Arguments Value Author(s) Examples

Description

update tree

Usage

1
pg %<% x

Arguments

pg

ggplot2 object

x

update by x

Value

updated ggplot object

Author(s)

Yu Guangchuang

Examples

1
2
3
4
5
library("ggplot2")
nwk <- system.file("extdata", "sample.nwk", package="ggtree")
tree <- read.tree(nwk)
p <- ggtree(tree) + geom_tippoint(color="#b5e521", alpha=1/4, size=10)
p %<% rtree(30)

ggtree documentation built on Aug. 20, 2017, 2:01 a.m.