remove_taxa: Remove taxa

View source: R/remove_taxa.R

remove_taxaR Documentation

Remove taxa

Description

Remove a taxon, and the associated record, from a data frame.

Usage

remove_taxa(input, x = NULL, col = NULL, path = NULL)

Arguments

input

(character) A character string specifying the taxon to be removed.

x

(character vector or data frame) Data containing taxa to be removed.

col

(character) A character string specifying the column in x containing taxa names to be cleaned. NOTE: Don't use this argument if x is a vector of character strings.

path

(character) A character string specifying the path to taxa_map.csv.

Value

  • 1. An updated version of taxa_map.csv with removed taxa names.

  • 2. A data frame of taxa_map.csv with removed taxa names, if the path argument is supplied.


EDIorg/taxonomyCleanr documentation built on April 9, 2023, 2:43 a.m.