%<%

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.