remove_redundant_names: Remove the redundant taxon names

Description Usage Arguments Value

View source: R/taxmap--internal.R

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

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


metacoder documentation built on May 30, 2017, 3:11 a.m.

Search within the metacoder package
Search all R packages, documentation and source code