Description Usage Arguments Examples
Assign a (new) phylogenetic tree to x
1 2 3 4 5 6 7 |
x |
(Required). |
value |
(Required). |
1 2 3 4 5 6 7 8 | #
data("esophagus")
# An example of pruning to just the first 20 taxa in esophagus
ex2a <- prune_taxa(taxa_names(esophagus)[1:20], esophagus)
# The following 3 lines produces an ex2b that is equal to ex2a
ex2b <- ex2a
phy_tree(ex2b) <- phy_tree(esophagus)
identical(ex2a, ex2b)
|
[1] TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.