Learn R Programming

BIOMASS (version 2.1.8)

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)

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.

Examples

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

Run the code above in your browser using DataLab