R/pkg_phyloch_functions.R
HPDbars.RdFunction 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
|
Adds bars to nodes on a phylo plot.
Make sure ape is loaded otherwise it won't find .PlotPhyloEnv
Christoph Heibl