Learn R Programming

phytools (version 0.2-40)

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 fraction on the interval 0-1.

See Also

make.simmap, read.simmap