Learn R Programming

phytools (version 0.7-20)

compare.chronograms: Compares two chronograms with precisely matching nodes in a visual manner

Description

This function plots two trees, with semi-transparent colors by default, & uses arrows to highlight differences in depth of corresponding nodes between the trees.

Usage

compare.chronograms(t1, t2, ...)

Arguments

t1

object of class "phylo".

t2

object of class "phylo" that matches t1 precisely in topology & node rotations, but differs in edge lengths.

...

optional arguments.

Value

Function creates a plot.

References

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