Remove the redundant taxon names

Description

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

Usage

1
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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.