process_bug_name: Pretty print taxonomy name.

Description Usage Arguments Details Value

View source: R/process_bug_names.R

Description

process_bug_name cleans up full taxonomy names to display the most relevant information

Usage

1
process_bug_name(name, sep = ";")

Arguments

name

Unprocessed, full taxonomy name.

sep

String separating different levels of taxonomic names

Details

Tries to return genus + species, if species is present. If genus is not present (e.g. contains less than 4 consecutive alphabetical characters), tries to return the next highest level of classification. If that is not present, keeps trying.

Value

Return value will be a string that includes classification levels with consecutive alphabetical characters as a sub-level of the main level <4


sagun98/mpuri documentation built on Dec. 23, 2019, 6:32 p.m.