Description Usage Arguments See Also Examples
phylobuilder creates a subtree with largest overlap from a species list. If species in the species list are not already in the tip label, species will added at the most recent common ancestor at the genus or family level when possible.
1 | phylo_builder(species, tree)
|
species |
A vector or matrix containing a species list |
tree |
a phylogenetic tree (object of class phylo) |
1 2 3 4 5 | library(ape)
fdir <- system.file("extdata", package = "phyloregion")
comm <- read.community(file.path(fdir, "Korea_PRESAB_sample.csv"))
tree <- read.tree(file.path(fdir, "PhytoPhylo.tre"))
tree <- phylo_builder(colnames(comm), tree)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.