ape (version 1.8-1)

consensus: Concensus Trees

Description

Given a series of trees, this function returns the consensus tree. By default, the strict-consensus tree is computed. To get the majority-rule consensus tree, use p = 0.5. Any value between 0.5 and 1 can be used.

Usage

consensus(..., p = 1)

Arguments

...
either (i) a single object of class "phylo", (ii) a series of such objects separated by commas, or (iii) a list containing such objects.
p
a numeric value between 0.5 and 1 giving the proportion for a clade to be represented in the consensus tree.

Value

  • an object of class "phylo".

See Also

prop.part, dist.topo