phyloCheck: Check tree format (internal)

Description Usage Arguments Value Author(s)

Description

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.

Usage

1
phyloCheck(tree)

Arguments

tree

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.

Value

A binary, rooted tree of class phylo, if possible.

Author(s)

Caroline Colijn c.colijn@imperial.ac.uk

Michelle Kendall michelle.louise.kendall@gmail.com



Search within the phyloTop package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.