This function turns any singleton nodes (internal non-root nodes with degree = 2) into subnodes. It uses the function
addSubNodes to attach the nodes to a phylo4d_ext object. These subnodes are positioned on the branch relative to the descendant node.
phylo4 tree with singletons that will potentially be collapsed.
The tree with the singletons collapsed.
J. Conrad Stack
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.