arclabels | R Documentation |
Add arc labels to tips of a phylogeny; works for non-monophyletic groups and single tip lineages.
arclabels(phy, tips, ...)
## Default S3 method:
arclabels(
phy = NULL,
tips,
text,
plot_singletons = TRUE,
ln.offset = 1.02,
lab.offset = 1.06,
cex = 1,
orientation = "horizontal",
...
)
phy |
An object of class phylo. |
tips |
A character vector (or a list ?) with the names of the tips that belong to the clade or group. If multiple groups are going to be plotted, tips must be given in the form of a list. |
... |
optional arguments for |
text |
A character vector indicating the desired text to label the arcs. |
plot_singletons |
Boolean. If TRUE (default), it will add arcs (and labels) to single tip lineages too. If FALSE, no arc or labels will be plotted over that tip.. |
ln.offset |
line offset (as a function of total tree height) for |
lab.offset |
label offset for |
cex |
character expansion factor. |
orientation |
orientation of the text. Can be |
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.