geom_cladelabel {ggtree} | R Documentation

## geom_cladelabel

### Description

annotate a clade with bar and text label

### Usage

    geom_cladelabel(node, label, offset = 0, offset.text = 0, extend = 0,
      align = FALSE, barsize = 0.5, fontsize = 3.88, angle = 0,
      geom = "text", hjust = 0, color = NULL, fill = NA,
      family = "sans", parse = FALSE, ...)

### Arguments

`node` | selected node
`label` | clade label
`offset` | offset of bar and text from the clade
`offset.text` | offset of text from bar
`extend` | extend bar height
`align` | logical
`barsize` | size of bar
`fontsize` | size of text
`angle` | angle of text
`geom` | one of 'text' or 'label'
`hjust` | hjust
`color` | color for clade & label, of length 1 or 2
`fill` | fill label background, only work with geom='label'
`family` | sans by default, can be any supported font
`parse` | logical, whether parse label
`...` | additional parameter

### Value

ggplot layers

### Author(s)

Guangchuang Yu

[Package ggtree version 1.12.7 Index]