Strict() returns the strict consensus of a set of trees: the tree that
contains exactly those splits (clades) present in every input tree
(Day 1985)
.
Value
Strict() returns the consensus tree, an object of class phylo,
rooted as in the first entry of trees.
Details
This is a thin wrapper around TreeTools::Consensus() with p = 1,
provided so that every consensus method in this package is reachable through
a common, consistently named interface.
References
Day WHE (1985). “Optimal algorithms for comparing trees with labeled leaves.” Journal of Classification, 2(1), 7–28. doi:10.1007/BF01908061 .
See also
Less conservative summaries: Majority().
Other consensus methods:
Adams(),
Average(),
Frequency(),
Greedy(),
Local(),
Loose(),
Majority(),
MajorityPlus(),
Quartet(),
RStar()
Examples
trees <- ape::as.phylo(0:5, 8)
Strict(trees)
#>
#> Phylogenetic tree with 8 tips and 5 internal nodes.
#>
#> Tip labels:
#> t1, t2, t3, t4, t5, t6, ...
#>
#> Rooted; no branch length.