tax_level = "genus", but families are plotted as well #151
-
So I want to make a barplot of the genera of the microbiome of a range of tissues, but when I set the tax_level = "Rank6" (which is genus level) it also plots certain bacterial families, which I do not want. Fix taxa for MicroViz{subset_env <- subset_env %>% MicroViz barplot tissue wrapped (only LO, no replicates){subset_env %>% |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If some of your taxa are unclassified (or ambiguously classified) at the genus level, (which is common and looks to be the case for you, given your tax fix code), then tax_fix will fill the missing info with the family names (if known). Those are most likely the family names you are seeing on your plots. You could exclude them using tax_select with deselect =TRUE, but I doubt that would be a good idea. Hope this helps 🙂 |
Beta Was this translation helpful? Give feedback.
If some of your taxa are unclassified (or ambiguously classified) at the genus level, (which is common and looks to be the case for you, given your tax fix code), then tax_fix will fill the missing info with the family names (if known).
Those are most likely the family names you are seeing on your plots. You could exclude them using tax_select with deselect =TRUE, but I doubt that would be a good idea.
Hope this helps 🙂
David