View source: R/selection_funks.R
foregroundNodes | R Documentation |
Identifies those tip and inner nodes of the phylogenetic tree that span subtrees whose tips are true subsets of the argument 'foreground.nodes'.
foregroundNodes(phylo.tr, foreground.nodes)
phylo.tr |
instance of ape::phylo representing a phylogenetic tree |
foreground.nodes |
a vector of tip indices or tip labels that represent candidate foreground tips. |
integer vector of inner node indices that span subtrees containing only foreground tips merged with the argument 'foreground.nodes' If tip labels are passed as argument infer their index in the tree's nodes slot: Find those inner nodes that spawn subtrees whose tips are true subsets of 'foreground.nodes'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.