geom_tiplab2: geom_tiplab2

View source: R/geom_tiplab.R

geom_tiplab2R Documentation

geom_tiplab2

Description

add tip label for circular layout

Usage

geom_tiplab2(mapping = NULL, hjust = 0, ...)

Arguments

mapping

aes mapping

hjust

horizontal adjustment, defaults to 0

...

additional parameter, see geom_tiplab

Details

'geom_tiplab2' will automatically adjust the angle of the tip labels to the tree with circular layout

Value

tip label layer

Author(s)

Guangchuang Yu

References

https://groups.google.com/forum/#!topic/bioc-ggtree/o35PV3iHO-0

See Also

geom_tiplab

Examples

library(ggtree)
set.seed(123)
tr <- rtree(10)
ggtree(tr, layout = "circular") + geom_tiplab2()

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