| downto.tree | R Documentation |
Expands a higher taxon to all of its descendants at a chosen rank using
downstream, then builds the corresponding Open Tree
of Life subtree via taxa.tree.
downto.tree(
taxon,
downto,
db = "ncbi",
key = NULL,
source = c("otl", "fish"),
plot = TRUE,
verbose = TRUE
)
taxon |
A single higher taxon name (e.g. a family or genus). |
downto |
Target lower rank to expand down to, e.g. |
db |
Taxonomic database used for the downstream expansion. Default
|
key |
NCBI Entrez API key (relevant when |
source |
Tree source passed to |
plot |
Logical; plot the resulting tree(s). Default |
verbose |
Logical; print progress messages. Default |
Only the taxon-expansion step uses taxize; the tree itself
comes from Open Tree of Life, so descendants that are absent from the
Open Tree synthesis are dropped and reported in unmatched.
Invisibly, the list returned by taxa.tree
(trees, unmatched). Because descendants of a taxon may span
more than one phylum, trees can contain more than one element.
taxa.tree
## Not run:
# All species in the deer family:
downto.tree("Cervidae", downto = "species")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.