ambiguous_patterns: Get patterns for ambiguous taxa

Description Usage Arguments

View source: R/remove_ambiguous.R

Description

This function stores the regex patterns for ambiguous taxa.

Usage

1
2
ambiguous_patterns(unknown = TRUE, uncultured = TRUE,
  whole_match = FALSE, name_regex = ".")

Arguments

unknown

If TRUE, Remove taxa with names the suggest they are placeholders for unknown taxa (e.g. "unknown ...").

uncultured

If TRUE, Remove taxa with names the suggest they are assigned to uncultured organisms (e.g. "uncultured ...").

name_regex

The regex code to match a valid character in a taxon name. For example, "[a-z]" would mean taxon names can only be lower case letters.

unknown

If TRUE, add "^" to front and "$" to the back of each pattern to indicate they are to match whole words.


metacoder documentation built on Jan. 5, 2019, 1:04 a.m.