How to create a heatmap with taxa names instead of feature IDs?

Hello! I am very new to QIIME and am trying to figure out how to make a heatmap. Soon I will try to use my own data, but right now I am using data from the FMT Tutorial.

I’m using QIIME2 2019.7 on a Mac in a conda environment.

I used this set of commands to try and make a heatmap, and it worked, but it was sorted by feature IDs instead of actual taxonomic assignments:

qiime feature-table heatmap
–i-table table.qza
–m-metadata-file sample-metadata.tsv
–m-metadata-column subject-id
–o-visualization fmt-heatmap

1 Like

Hi @cjone228,
You can use qiime taxa collapse to collapse your features based on taxonomy assignments (any ASVs that share the same taxon label at level X get collapsed into a single feature).

Then use the heatmap command on this new feature table.

Does that accomplish what you need?

2 Likes

Hi Nicholas,

Yes, thank you very much!!

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