Learn R Programming

DAISIEprep (version 1.0.1)

any_polyphyly: Checks whether there are any species in the phylogeny that have multiple tips (i.e. multiple subspecies per species) and whether any of those tips are paraphyletic (i.e. are their subspecies more distantly related to each other than to other subspecies or species).

Description

Checks whether there are any species in the phylogeny that have multiple tips (i.e. multiple subspecies per species) and whether any of those tips are paraphyletic (i.e. are their subspecies more distantly related to each other than to other subspecies or species).

Usage

any_polyphyly(phylod)

Value

Boolean

Arguments

phylod

A phylo4d object from the package phylobase containing phylogenetic and endemicity data for each species.

Examples

Run this code
phylod <- create_test_phylod(test_scenario = 1)
any_polyphyly(phylod)

Run the code above in your browser using DataLab