This function stores the regex patterns for ambiguous taxa.
ambiguous_patterns(
unknown = TRUE,
uncultured = TRUE,
case_variations = FALSE,
whole_match = FALSE,
name_regex = "."
)
If TRUE
, Remove taxa with names the suggest they are
placeholders for unknown taxa (e.g. "unknown ...").
If TRUE
, Remove taxa with names the suggest they are
assigned to uncultured organisms (e.g. "uncultured ...").
If TRUE
, include variations of letter case.
If TRUE
, add "^" to front and "$" to the back of each
pattern to indicate they are to match whole words.
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.