multianc | R Documentation |
Uses fastAnc to reconstruct ancestral states for multiple phenotypic characters
multianc(phy, phendata)
phy |
The phylogeny of interest in phylo format |
phendata |
Phenotypic data for all tips |
None
A matrix with the tips data in the first n rows and the ancestral data in the remaining n-1 rows.
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.
phy<-rtree(10)
phendata<-fastBM(phy,nsim=2)
ancs<-multianc(phy,phendata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.