edgeProbs | R Documentation |
Computes the relative frequencies of character state changes along edges from a sample of stochastically mapped character histories.
edgeProbs(trees)
trees |
an object of class |
The function assumes that all trees in the sample differ only in their mapped histories & not at all in topology or branch lengths.
Note that edgeProbs
only asks whether the starting and ending states of the edge differ in a particular way, and thus ignores multiple-hits along a single edge.
The object that is returned is a matrix with the state changes & the relative frequency of each state change. Rows are in the order of the matrix edge
for any of the mapped trees.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.
plotSimmap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.