How to collapse Taxa bar plot?

Hi, everybody

I´m doing the taxonomy analysis, but I have a doubt.
The taxa bar plots represents all the samples (12), but the 12 samples actually are only 4 samples and its replicates.
And I want to collapse the total 12 samples that the plot shows in to the 4 different samples that actually exists.

I upload the file:slightly_smiling_face:.

taxa-bar-plots.qzv (340.8 KB)

1 Like

Good afternoon,

Great question! If you would like to group these replicates together so you only see the 4 main group, you can use this qiime 2 plugin: https://docs.qiime2.org/2017.12/plugins/available/feature-table/group/

Let me know if that looks like the plugin will work for you :slightly_smiling_face:
Colin

3 Likes

Hi, @colinbrislawn. It worked :slight_smile: Thanks!.
This is the command line I used:

qiime feature-table group
–i-table table.qza
–p-axis sample
–m-metadata-file metadata.tsv
–m-metadata-category “Description”
–p-mode mean-ceiling
–o-grouped-table grouped-table.qza

“Description” is the category I want to join the samples.
I´m just post this for the other people with the same doubt :slight_smile:

8 Likes

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