Learn R Programming

TreeSearch (version 0.3.2)

NyeTreeSimilarity: Nye et al. (2006) tree comparison

Description

Implements the tree comparison metric of Nye et al. (2006).

Usage

NyeTreeSimilarity(tree1, tree2, reportMatching = FALSE)

NyeSplitSimilarity(splits1, splits2, reportMatching = FALSE)

Arguments

tree1

Trees of class phylo, with tips labelled identically, or lists of such trees to undergo pairwise comparison.

tree2

Trees of class phylo, with tips labelled identically, or lists of such trees to undergo pairwise comparison.

reportMatching

Logical specifying whether to return the clade matchings as an attribute of the score.

splits1

Logical matrices where each row corresponds to a terminal, either listed in the same order or bearing identical names (in any sequence), and each column corresponds to a bipartition split, such that each terminal is identified as a member of the ingroup (TRUE) or outgroup (FALSE) of the respective bipartition split.

splits2

Logical matrices where each row corresponds to a terminal, either listed in the same order or bearing identical names (in any sequence), and each column corresponds to a bipartition split, such that each terminal is identified as a member of the ingroup (TRUE) or outgroup (FALSE) of the respective bipartition split.

Functions

  • NyeSplitSimilarity: Takes splits instead of trees

References

Nye2006TreeSearch