geom_tiplab {ggtree}R Documentation

geom_tiplab

Description

add tip label layer

Usage

geom_tiplab(
  mapping = NULL,
  hjust = 0,
  align = FALSE,
  linetype = "dotted",
  linesize = 0.5,
  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', 'label', 'image' and 'phylopic'

offset

tiplab offset

...

additional parameter

Value

tip label layer

Author(s)

Guangchuang Yu

Examples

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

[Package ggtree version 2.2.4 Index]