Relationship between four taxa
QuartetResolution(trees, tips)
A list of trees of class phylo
, or a multiPhylo
object.
Vector specifying four tips whose relationship should be
reported, in a format accepted by KeepTip()
.
A vector specifying an integer, for each tree, which of tips[-1]
is most closely related to tips[1]
.
Other utility functions:
ClusterStrings()
,
WhenFirstHit()
trees <- inapplicable.trees[["Vinther2008"]]
tips <- c("Lingula", "Halkieria", "Wiwaxia", "Acaenoplax")
QuartetResolution(trees, tips)
#> [1] 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 3 2 3 3 2 1 3 3 3 2 3 2 2 2
#> [39] 3 3 2 2 1 2 3 2 1 1 2 1 3 2 3 3 2 1 1 1 3 1 2 1 2 1 3 3 2 1 2 1 2 2 3