diff --git a/tools/ampvis2/subset_taxa.xml b/tools/ampvis2/subset_taxa.xml index d292a000ff2..b6ca9a8ffc1 100644 --- a/tools/ampvis2/subset_taxa.xml +++ b/tools/ampvis2/subset_taxa.xml @@ -1,4 +1,4 @@ - + by taxonomy macros.xml @@ -11,13 +11,26 @@ @@ -25,8 +38,22 @@ - - + + + + + + + + + + + + + + + + @@ -34,10 +61,12 @@ + - + + @@ -48,9 +77,11 @@ - + + + @@ -62,6 +93,21 @@ + + + + + + + + + + + + + + + `_ function of the ampvis2 package. +This tool provides two options for specifying the `subset`: + +1. **Provide taxa names matching the taxonomy table**: + The taxonomy subset is done by providing a tax_vector of taxa names which are then matched to the taxonomy table, where all other taxa not matching the "Taxa to keep" (``tax_vector``) are removed. If "Remove" is enabled, then the matching taxa are the ones being removed instead. The taxa names will be matched in all columns of the taxonomy table. +2. **Provide a file of selected taxonomies**: + +In this option, you can upload a file containing the taxa you wish to subset. +The file should contain one taxon name per line. +This option is useful when you have a pre-defined list of taxa stored in a file. +This is useful if you want to use the tool in a workflow or if you automatically generate +a taxonomy selection e.g. with differential abundance tools like MaAsLi2 and you only want to +plot these taxa. + + @HELP_RELATIVE_ABUNDANCES@ Input @@ -95,4 +155,4 @@ An ampvis2_rds dataset containing subsetted data and an updated taxonomy list da ]]> - \ No newline at end of file + diff --git a/tools/ampvis2/test-data/AalborgWWTPs-selected.taxonomy.list b/tools/ampvis2/test-data/AalborgWWTPs-selected.taxonomy.list new file mode 100644 index 00000000000..69f08c264fe --- /dev/null +++ b/tools/ampvis2/test-data/AalborgWWTPs-selected.taxonomy.list @@ -0,0 +1,2 @@ +f__Caldilineaceae +p__Elusimicrobia \ No newline at end of file