View source: R/pkg_phyloch_functions.R
HPDbars | R Documentation |
Function from phyloch package Add interval bars to nodes on a phylo plot.
HPDbars( phy, label = "height_95%_HPD", tab = NULL, nodes, col, lwd, broken = FALSE, ... )
phy |
A phylo object with two extra elements specifying the MAX and MIN limits of intervals to plot. |
label |
A character vector corresponding to the name used to label intervals stored in phy |
tab |
Something I'm not sure of, should ask Christoph Heibl. |
nodes |
Numeric. Use this if you wanna plot bars on certain nodes only. |
col |
Color for the bars, default to "grey75" |
lwd |
Line width for the bars, default to 5. |
broken |
Something I'm not sure of, should ask Christoph Heibl. |
... |
Arguments passed on to
|
Make sure ape is loaded otherwise it won't find .PlotPhyloEnv
Adds bars to nodes on a phylo plot.
Christoph Heibl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.