taxonTree | R Documentation |
data.tree
Object from Taxon NamesThis function takes one or more taxon names and taxonomic levels as input.
taxonTree(
taxon,
level = c("order", "suborder", "greatgroup", "subgroup"),
root = "Soil Taxonomy",
verbose = TRUE,
special.chars = c("|--", "|", "|", "-"),
file = "",
...
)
taxon |
A vector of taxon names |
level |
One or more of: |
root |
Label for root node. Default: |
verbose |
Print tree output? Default: |
special.chars |
Characters used to print the tree to console. Default: |
file |
Optional: path to output file. Default: |
... |
Additional arguments to |
A subclass of data.tree Node
object is returned. This object has a custom print()
method
A SoilTaxonNode
(subclass of data.tree
Node
) object (invisibly). A text representation of the tree is printed to stdout when verbose=TRUE
.
# hapludults and hapludalfs (to subgroup level)
taxonTree(c("hapludults", "hapludalfs"))
# alfisols suborders and great groups
taxonTree("alfisols", root = "Alfisols", level = c("suborder", "greatgroup"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.