char2Paths | R Documentation |
getAllCor
turns a named vector of characters into a paths vector to be used with getAllCor
char2Paths(
tip.vals,
treesObj,
altMasterTree = NULL,
metric = "diff",
se.filter = -1,
...
)
tip.vals |
the trait/phenotype/character value at the tip, |
treesObj |
A treesObj created by |
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 |
A vector of length equal to the number of paths in treesObj
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.