Description Usage Arguments Details
Highlights one or more monophyletic groups (clades) in a phylogeny by filling them with color.
1 | fillClades(phy, nodes, col, text, text.cex = 1, open.angle = 0)
|
phy |
An object of class |
nodes |
A vector of mode |
col |
A vector of mode |
text |
A vector of mode |
text.cex |
Numeric, giving the character expansion (size) of the text labels. |
open.angle |
Numeric, giving the the angle left blank in degrees and has
to match the value used in |
On 2018-01-17, I added the optional plotting of labels. To this end, in non-ultrametric trees the tip-ward side of the polygons has to be aligned. This has only been tested for rightward phylograms. Maybe boxes should be extended vertically a bit to include tiplabels.And maybe the code should be organized a bit more systematically.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.