Converts a phylogenetic tree to an array of bipartition splits.
Usage
Tree2Splits(tr)
Tree2Bipartitions(tr)
Arguments
tr
A tree of class phylo, with tips
bearing integer labels (i.e. tr$tip.label == 1:N).
Value
Returns a two-dimensional array. Columns correspond to unique
bipartitions, named with the number of a node that denotes the partition.
Rows correspond to tips 1:N.