View source: R/summaryStatistics.R
| writeLadders | R Documentation |
Traverse the phylogeny in preoder and write node indexes belonging to
ladders. Nodes that don't belong to ladder are marked with -1.
A node is in a ladder if one of its children is a tip AND the other is not.
writeLadders(phylo, i, preorder)
phylo |
phylogeny (ape format) |
i |
node index |
preorder |
vector |
vector with ladders
isInLadder, getChildLeftRight
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.