consensus {ape} | R Documentation |
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.
consensus(..., p = 1)
... |
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. |
an object of class "phylo"
.
Emmanuel Paradis Emmanuel.Paradis@mpl.ird.fr