%<% {ggtree} | R Documentation

## %<%

### Description

update tree

### Usage

    pg %<% x

### Arguments

`pg` | ggplot2 object
`x` | update by x

### Value

updated ggplot object

### Author(s)

Yu Guangchuang

### Examples

    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)

[Package ggtree version 1.10.5 Index]