species_to_mfg {algaeClassify}R 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"

[Package algaeClassify version 2.0.2 Index]