Learn R Programming

BIOMASS (version 2.1.11)

getTaxonomy: Retrieving the taxonomy

Description

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)

Value

Data frame with the order (if findOrder is TRUE), family and genus.

Arguments

genus

Vector of genus names

findOrder

(Boolean) If TRUE, the output will contain the taxonomical orders of the families.

Author

Ariane TANGUY, Arthur PERE, Maxime REJOU-MECHAIN

Examples

Run this code
# Find the Family of the Aphelandra genus
getTaxonomy("Aphelandra")
# ... and the order
# \donttest{
getTaxonomy("Aphelandra", findOrder = TRUE)
# }

Run the code above in your browser using DataLab