foreground2Paths | R Documentation |
Creates paths from a set of foreground species
foreground2Paths(
foreground,
treesObj,
plotTree = F,
clade = c("ancestral", "terminal", "all", "weighted"),
useSpecies = NULL
)
treesObj |
A treesObj created by |
plotTree |
Plot a tree representation of the result |
clade |
A character string indicating which branches within the clade containing the foreground species should be set to foreground. Must be one of the strings "ancestral", "terminal", "all", or "weighted". |
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). |
foreground. |
A character vector containing the foreground species |
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.