Skip to contents

Cleanup Species

Cleans up the species column of a data frame by removing certain characters and rows.

This function removes unneccessary characters from the 'Species' column. A cleaned up version of the data table is returned.

Usage

cleanup_species(prot, remove_empty = FALSE)

Arguments

prot

A data frame that contains columns 'Species'.

remove_empty

Boolean. If TRUE, rows with empty/unnecessary values in 'Species' are removed. Default is false.

Value

Describe return, in detail

Examples

if (FALSE) { # \dontrun{
cleanup_species(prot, TRUE)
} # }