get.ancestral.pars | R Documentation |
A wrapper for the ancestral.pars
function from ape. Can perform
parsimonious ASR for variables in matrix or vector form.
get.ancestral.pars(var, tree, unique.cols = FALSE)
var |
A matrix or vector containing a variable whose state at ancestral nodes we want to infer. |
tree |
A phylo object containing a phylogenetic tree whose tips contain the same individuals as are
in the elements of |
Note that the (row)names of var
should match the tip.labels of tree
.
Caitlin Collins caitiecollins@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.