geom_tiplab2 | R Documentation |
add tip label for circular layout
geom_tiplab2(mapping = NULL, hjust = 0, ...)
mapping |
aes mapping |
hjust |
horizontal adjustment, defaults to 0 |
... |
additional parameter, see geom_tiplab |
'geom_tiplab2' will automatically adjust the angle of the tip labels to the tree with circular layout
tip label layer
Guangchuang Yu
https://groups.google.com/forum/#!topic/bioc-ggtree/o35PV3iHO-0
geom_tiplab
library(ggtree)
set.seed(123)
tr <- rtree(10)
ggtree(tr, layout = "circular") + geom_tiplab2()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.