Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

multianc

Reconstructs ancestral states for multiple characters


Description

Uses fastAnc to reconstruct ancestral states for multiple phenotypic characters

Usage

multianc(phyl, phendata)

Arguments

phyl

The phylogeny of interest in phylo format

phendata

Phenotypic data for all tips

Details

None

Value

A matrix with the tips data in the first n rows and the ancestral data in the remaining n-1 rows.

References

Paradis, E., J. Claude, and K. Strimmer (2004) APE: Analyses of phylogenetics and evolution in R langauge. Bioinformatics, 20, 289-290.

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

Examples

phyl<-rtree(10)

phendata<-fastBM(phyl,nsim=2)

ancs<-multianc(phyl,phendata)

convevol

Analysis of Convergent Evolution

v1.3
GPL-2
Authors
C. Tristan Stayton [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.