# Heatmap - qiime feature-table heatmap

**URL:** https://forum.qiime2.org/t/heatmap-qiime-feature-table-heatmap/2182
**Category:** User Support
**Tags:** heatmap
**Created:** [December 12, 2017, 1:32pm UTC](https://forum.qiime2.org/t/heatmap-qiime-feature-table-heatmap/2182 "2017-12-12T13:32:49Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Adi](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/a/4da419/32.png) [@Adi](https://forum.qiime2.org/u/Adi)
#### Post date: [December 12, 2017, 1:32pm UTC](https://forum.qiime2.org/t/heatmap-qiime-feature-table-heatmap/2182/1 "2017-12-12T13:32:50Z")

</div>

Hello 🙂

I have created Heatmap using 'qiime feature-table heatmap' command.  
I chose metadata-category, but the heatmap I received included the category I chose but not in the right order - all groups from this category are mix.

I have checked the table by converting it to tsv - and all samples are well organized there.

please help 🙂

---

<div class="post-metadata">

### Author: ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)
#### Post date: [December 12, 2017, 2:06pm UTC](https://forum.qiime2.org/t/heatmap-qiime-feature-table-heatmap/2182/3 "2017-12-12T14:06:04Z")

</div>

Hi @Adi,  
Please see [this post](https://forum.qiime2.org/t/relative-abundances-of-unique-sequences-per-sample/1821/5). Specifically, set `--p-cluster` to "features" to disable sample clustering and then your groups should be ordered correctly.

I hope that helps!

---

<div class="post-metadata">

### Author: ![Adi](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/a/4da419/32.png) [@Adi](https://forum.qiime2.org/u/Adi)
#### Post date: [December 13, 2017, 1:14pm UTC](https://forum.qiime2.org/t/heatmap-qiime-feature-table-heatmap/2182/5 "2017-12-13T13:14:56Z")

</div>

Hi @Nicholas_Bokulich  
Thanks alot!  
I tried to set --p-cluster to “features”. the groups ordered correctly, but now instead of having the taxa name I got the features name.

---

<div class="post-metadata">

### Author: ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)
#### Post date: [December 13, 2017, 1:24pm UTC](https://forum.qiime2.org/t/heatmap-qiime-feature-table-heatmap/2182/7 "2017-12-13T13:24:56Z")

</div>

Hi @Adi,  
Good to hear that solved the ordering issue!

> [@Adi](#):
>
> now instead of having the taxa name I got the features name

That's a bit mysterious... are you inputting the same feature table? The feature IDs should be the same as they are in the feature table. So if you use a feature table containing OTUs/sequence variants, the labels will be those feature IDs. If you [collapse by taxonomy](https://docs.qiime2.org/2017.11/plugins/available/taxa/collapse/), then your features will be taxa instead (e.g., genera, species). Is that what you are looking for?

I hope that helps! 🌻

---

<div class="post-metadata">

### Author: ![Adi](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/a/4da419/32.png) [@Adi](https://forum.qiime2.org/u/Adi)
#### Post date: [December 14, 2017, 7:25am UTC](https://forum.qiime2.org/t/heatmap-qiime-feature-table-heatmap/2182/9 "2017-12-14T07:25:48Z")

</div>

Thanks a lot, probably I chose the wrong table...now all good 🙂

Is there a way to show only the significant taxon in the heatmap?

Thanks!  
Adi.

---

<div class="post-metadata">

### Author: ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)
#### Post date: [December 14, 2017, 1:52pm UTC](https://forum.qiime2.org/t/heatmap-qiime-feature-table-heatmap/2182/11 "2017-12-14T13:52:47Z")

</div>

Hi @Adi,

> [@Adi](#):
>
> Is there a way to show only the significant taxon in the heatmap?

The only way to do this would be to filter your feature table to only contain significant features (or any features you want to display for that matter). This is a fairly straightforward process — input a list of significant features (such as would be output from ANCOM or another differential abundance method as a TSV file) as a metadata file to [`filter-features`](https://docs.qiime2.org/2017.11/plugins/available/feature-table/filter-features/). Only features found in that list will be retained in the output.

I hope that helps!

---

<div class="post-metadata">

### Author: ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)
#### Post date: [January 14, 2018, 7:52pm UTC](https://forum.qiime2.org/t/heatmap-qiime-feature-table-heatmap/2182/13 "2018-01-14T19:52:59Z")

</div>

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