tree2Paths | R Documentation |
tree2Paths
generates a phenotype paths vector matching the treesObject
from a tree where branches specify phenotypes.
tree2Paths(tree, treesObj, binarize = NULL, useSpecies = NULL, categorical = F)
tree |
A phenotype tree, with branch length encoding a phenotype. |
treesObj |
A treesObject created by |
binarize |
Force binary path representation. Default action depends upon the type of data within the phenotype tree (binary or continuous).
|
useSpecies |
Give only a subset of the species to use for ancestral state reconstruction (e.g., only those species for which the trait can be reliably determined). |
The tree topology of the phenotype tree must match that of the master tree within the treesObject.
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.