Learn R Programming

phytools (version 0.4-45)

map.overlap: Proportional overlap between two mapped character histories on a tree

Description

This function computes the fraction of a stochastic character mapping that is shared between two differently mapped trees.

Usage

map.overlap(tree1, tree2, tol=1e-6)

Arguments

tree1
a modified "phylo" object (see read.simmap.
tree2
a modified "phylo" object with the same topology and branch lengths, but different map from tree1.
tol
an optional tolerance value.

Value

  • A numerical value on the interval 0-1.

References

Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.

See Also

make.simmap, read.simmap