getNodeColless: Compute the colless score of a node

View source: R/summaryStatistics.R

getNodeCollessR Documentation

Compute the colless score of a node

Description

The colless score is defined as the difference of the number of left and right tips of a node. Thus, this score can only be computed for internal nodes (i.e. with at least one descendant). For more detail, see Saulnier et al., 2014, PLOS.

Usage

getNodeColless(phylo, i)

Arguments

phylo

phylogeny (ape format)

i

node index

Value

int


ilajaait/deephylo documentation built on April 10, 2022, 11:03 a.m.