Simplifying Taxon display on Visualizations

I have 2 questions which I cant seem to find an answer to.

  1. Is there a way to simplify taxon labels especially in visualizing results? Like the biplot script here. The taxon description occupies a large area.

  2. Also, somewhat related to the previous question. Is it possible to simplify the taxonomic projected based on a certain level (e.g. family/order)?

Thank you very much!

Hello Carl,


I notice that all these labels start with ‘k__Bacteria’, so you could change the color legend title to ‘Bacteria’ and remove this prefix from the taxa themselves. You could also remove the prefixes like p__ and c__ from the taxa strings.

To make things even simpler, you could merge ASVs based on taxonomy and plot that instead, just like you suggested!

This could be done within Qiime 2 using qiime taxa collapse or within Phyloseq using tax_glom().

:warning: Merging / collapsing / conglomeratinging features by taxonomy reduces resolution and introduces classification bias! But it sure does simplify visualizations!
:innocent: :bar_chart: :star_struck:


1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.