computeCherries: Compute the number of cherries

Description Usage Arguments See Also

View source: R/BasicStats.R

Description

computeCherries computes the number of cherries of rooted binary phylo tree

Usage

1
computeCherries(tree, DOUBLE = FALSE)

Arguments

tree

A phylo tree; needs to be binary and rooted.

DOUBLE

A logical scalar; if TRUE, computes the number of double cherries instead.

See Also

Other tree shape statistics based on the number of small substructures: computeNum4to8, computePitchforks


Leonardini/treeCentrality documentation built on April 7, 2020, 3:18 p.m.