Eliminates unmatched (NAs) and invalid taxa from a rotl::tnrs_match_names or datelife::tnrs_match output Useful to get ott ids to retrieve an otol induced subtree from. Needed because using include_suppressed = FALSE in tnrs_match_names does not drop all invalid taxa
1 2 3
A data frame, usually an output from datelife::tnrs_match or rotl::tnrs_match_names functions, but see details.
A character string with flags to be removed from final object.
Input can be any data frame or named list that relates taxa stored in an element named "unique" to a validity category stored in "flags".
A data frame or named list (depending on the input) with valid taxa only.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.