View source: R/support-labels.R
| add_hpd_range | R Documentation |
Uses ggtree::geom_range() to display horizontal uncertainty bars
on internal nodes. Requires a node.data data frame attached to the
tree with a HPD column (list column of c(lower, upper) vectors).
add_hpd_range(p, tree, color = "firebrick")
p |
ggplot object |
tree |
phylo object (with node.data containing HPD annotations) |
color |
Color for HPD bars. Default: "firebrick". |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.