species_to_mfg: Conversion of a single genus and species name to a single...

View source: R/species_to_mfg.r

species_to_mfgR Documentation

Conversion of a single genus and species name to a single MFG. Uses species.mfg.library

Description

Conversion of a single genus and species name to a single MFG. Uses species.mfg.library

Usage

species_to_mfg(genus, species = "", flag = 1, mfgDbase = NA)

Arguments

genus

Character string: genus name

species

Character string: species name

flag

Resolve ambiguous mfg: 1 = return(NA),2= manual selection

mfgDbase

data.frame of species MFG classifications. Defaults to the supplied species.mfg.library data object

Value

a data frame with MFG classification and diagnostic information. ambiguous.mfg=1 if multiple possible mfg matches genus.classification=1 if no exact match was found with genus + species name partial.match=1 if mfg was based on fuzzy matching of taxonomic name.

Examples

species_to_mfg('Scenedesmus','bijuga')
#returns "11a-NakeChlor"

algaeClassify documentation built on Nov. 22, 2023, 1:08 a.m.