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.
remove_redundant_names(obj, name_col, all_supertaxa = TRUE)
a taxmap
object
(character
of length 1)
The name of a column in obj$taxon_data
(logical
of length 1) If TRUE
, check all supertaxa for redundant names instead of just the one immediate supertaxa.
character