ggtree (version 1.4.11)

geom_tiplab: geom_tiplab

Description

add tip label layer

Usage

geom_tiplab(mapping = NULL, hjust = 0, align = FALSE, linetype = "dotted", linesize = 1, geom = "text", ...)

Arguments

mapping
aes mapping
hjust
horizontal adjustment
align
align tip lab or not, logical
linetype
linetype for adding line if align = TRUE
linesize
line size of line if align = TRUE
geom
one of 'text' and 'label'
...
additional parameter

Value

tip label layer

Examples

Run this code
require(ape)
tr <- rtree(10)
ggtree(tr) + geom_tiplab()

Run the code above in your browser using DataLab