Learn R Programming

ggtree (version 1.2.1)

geom_tiplab: geom_tiplab

Description

add tip label layer

Usage

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

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
...
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