edgeVars | R Documentation |
maps a vector of traits onto a reference tree
edgeVars(mastertree, tip.vals, metric = "diff", se.filter = -1, return.var = F)
mastertree |
the tree species the topology of the output tree and the branch lengths are used to infer ancestral states |
tip.vals |
the trait/phenotype/character value at the tip, |
metric |
The metric used to translate node values into branch values. "Diff" takes the difference and makes the result phylogenetically independent. Other possible values are "mean" (the mean of the two values) and "last" the value of the most recent species on the branch. The last two options are not phylogenetically independent and downstream computations for those are not yet implemented |
se.filter |
Will remove branch values that are not at least |
return.var |
Returns the variance instead of the mean. Useful for seeing which estimates have high confidence. |
A phylo tree with branch values computed from the input tip.values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.