geom_tiplab {ggtree}R Documentation

geom_tiplab

Description

add tip label layer

Usage

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

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'

offset

tiplab offset

...

additional parameter

Value

tip label layer

Author(s)

Yu Guangchuang

Examples

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

[Package ggtree version 1.10.5 Index]