Skip to contents

Calls stop if the phylogeny is invalid

Usage

check_phylogeny(phylogeny)

Arguments

phylogeny

a phylogeny of type phylo from the ape package

Value

nothing

See also

Use ape::read.tree to create a phylogeny

Author

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

# Must do nothing on phylogenies
phylogeny <- ape::read.tree(text = "(A:1, B:1):1;")
check_phylogeny(phylogeny)
#> NULL

check_empty_beautier_folder()