View source: R/geom_cladelabel.R
geom_cladelabel | R Documentation |
annotate a clade with bar and text label
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,
horizontal = TRUE,
...
)
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 |
justify text horizontally |
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 |
horizontal |
logical, whether set label to horizontal, defaults to TRUE. |
... |
additional parameter |
ggplot layers
Guangchuang Yu
geom_cladelabel2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.