metacoder (version 0.1.3)

remove_redundant_names: Remove the redundant taxon names

Description

Remove the names of parent taxa in the beginning of their children's names in a taxmap object. This is useful for removing genus names in binomials.

Usage

remove_redundant_names(obj, name_col, all_supertaxa = TRUE)

Arguments

obj

a taxmap object

name_col

(character of length 1) The name of a column in obj$taxon_data

all_supertaxa

(logical of length 1) If TRUE, check all supertaxa for redundant names instead of just the one immediate supertaxa.

Value

character