isMonophyletic {maticce}R Documentation

Test whether a set of taxa is monophyletic on an ouch-style tree

Description

A somewhat clunky monophyly-checker for an ouchtree object

Usage

  isMonophyletic(tree, taxa)
  nodeDescendents(tree, startNode)
  mrcaOUCH(cladeVector, tree)

Arguments

tree An ouchtree object.
taxa A vector of taxon names.
startNode The node of interest; nomenclature follows tree@nodes.
cladeVector A vector of tip labels.

Value

isMonophyletic Boolean, TRUE if taxa form a monophyletic group, FALSE if not.
mrcaOUCH A single node label; one of the items in tree@nodes.
nodeDescendents A vector of tip labels.

Author(s)

Andrew Hipp ahipp@mortonarb.org


[Package maticce version 0.9-2 Index]