I am looking for some codes for Qiime2R package in R to do:
-Isolate bacteria and archaea domains from each other.
-draw a taxonomy barplot only for phylum rank.
-draw a taxonomy barplot only for family rank.
-keep only major taxa in phylum level.
-keep only major taxa in family level.
Anybody can share the codes with me?
I did not find them by googling and here.
By the way, could you please tell me what is the treatment argument in this page? Or what can I use instead of treatment from my data files?
My barplot in Qiime2:
I used this code; type is one of column names in the metadata file. It gave an error.
taxa_barplot(Tables, metadata, “type”)
Error in nrow(features) : object ‘Merged’ not found
Thanks a lot