Learn R Programming

TreeSearch (version 1.5.1)

QuartetResolution: Relationship between four taxa

Description

Relationship between four taxa

Usage

QuartetResolution(trees, tips)

Value

A vector specifying an integer, for each tree, which of tips[-1]

is most closely related to tips[1].

Arguments

trees

A list of trees of class phylo, or a multiPhylo object.

tips

Vector specifying four tips whose relationship should be reported, in a format accepted by KeepTip().

See Also

Other utility functions: ClusterStrings(), WhenFirstHit()

Examples

Run this code
trees <- inapplicable.trees[["Vinther2008"]]
tips <- c("Lingula", "Halkieria", "Wiwaxia", "Acaenoplax")
QuartetResolution(trees, tips)

Run the code above in your browser using DataLab