View source: R/taxonomy-based.R
filter_taxa_from_input | R Documentation |
Can use one or more of the parameters to do filtering. Threshold filtering takes precidence over taxa filtering. If taxa to keep and taxa to remove are both included, taxa to remove will be removed if the parameter entries conflict. Taxa are found using grep, so it is not necessary to use the entire names of taxa as long as they are not ambiguous. Can filter using taxa IDs (i.e. row names in taxa table).
filter_taxa_from_input( input, filter_thresh, taxa_to_keep, taxa_to_remove, at_spec_level, taxa_IDs_to_keep, taxa_IDs_to_remove )
input |
Input data (a list variable) from |
filter_thresh |
Filter OTUs less than this number based on mean OTU table values. |
taxa_to_keep |
Keep only taxa that contain these names. Vector or string. |
taxa_to_remove |
Remove taxa that contain these names. Vector or string. |
at_spec_level |
If included, only keep/remove matches at this specific taxonomy level(s) (a number/numbers referring to the taxonomy column(s)). |
taxa_IDs_to_keep |
Keep only taxa with these IDs (row names). |
taxa_IDs_to_remove |
Remove taxa with these IDs (row names). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.