From a genus, the function getTaxonomy
finds the APG III family, and optionally the
order, from the genusFamily database and the apgFamilies dataset
Usage
getTaxonomy(genus, findOrder = FALSE)
Arguments
- genus
Vector of genus names
- findOrder
(Boolean) If TRUE
, the output will contain the taxonomical orders of the families.
Value
Data frame with the order (if findOrder
is TRUE
), family and genus.
Author
Ariane TANGUY, Arthur PERE, Maxime REJOU-MECHAIN
Examples
# Find the Family of the Aphelandra genus
getTaxonomy("Aphelandra")
#> inputGenus family
#> 1 Aphelandra Acanthaceae
# ... and the order
# \donttest{
getTaxonomy("Aphelandra", findOrder = TRUE)
#> inputGenus family order
#> 1 Aphelandra Acanthaceae Lamiales
# }