Coerces the tree into a rooted, binary tree of class phylo. Note that this function used to require trees to be of class phylo4 but the package now uses class phylo throughout.
phyloCheck(tree)A binary, rooted tree of class phylo, if possible.
a tree of class phylo or phylo4. For most functions in this package the tree should be binary and rooted, hence this function is called to check.
If necessary the tree will be coerced into a binary rooted tree using multi2di, if possible.
Caroline Colijn c.colijn@imperial.ac.uk
Michelle Kendall michelle.louise.kendall@gmail.com