strip_names {APCalign}R Documentation

Strip taxon names

Description

Strip taxonomic names of taxon rank abbreviations and qualifiers and special characters

Usage

strip_names(taxon_names)

Arguments

taxon_names

A character vector of taxonomic names to be stripped.

Details

Given a vector of taxonomic names, this function removes:

The resulting vector of names is also converted to lowercase.

Value

A character vector of stripped taxonomic names, with subtaxa designations, special characters, and extra whitespace removed, and all letters converted to lowercase.

Examples

strip_names(c("Abies lasiocarpa subsp. lasiocarpa",
              "Quercus kelloggii",
              "Pinus contorta var. latifolia"))


[Package APCalign version 1.0.1 Index]