PCMBase (version 1.2.10)

PCMTreeGetRegimesForEdges: Model regimes (i.e. colors) associated with the branches in a tree

Description

Model regimes (i.e. colors) associated with the branches in a tree

Usage

PCMTreeGetRegimesForEdges(tree)

Arguments

tree

a PCMTree or a phylo object.

Value

a vector with entries corresponding to the rows in tree$edge denoting the regime associated with each branch in the tree. The type of the vector element is defined by the type of tree$part.regime.