Add tip and node labels to a plotted tree. These functions do not do anything except for specify which type of labels might be added – they need to be added to the tree with the addition operator.
1 2 3 4 5 6 | tree_labels(type, offset = unit(0.5, "lines"), rot = 0, name = NULL,
gp = gpar())
tree_tip_labels(...)
tree_node_labels(...)
|
type |
Either |
offset |
A |
rot |
Rotation, relative to the time axis. |
name |
Name of the tip labels grob |
gp |
Graphical parameters (a |
... |
Arguments passed through to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.