# Show the top abundant ASV composition with interactive bar plots?

**URL:** https://forum.qiime2.org/t/show-the-top-abundant-asv-composition-with-interactive-bar-plots/20056
**Category:** User Support
**Tags:** barplot
**Created:** [July 1, 2021, 12:43am UTC](https://forum.qiime2.org/t/show-the-top-abundant-asv-composition-with-interactive-bar-plots/20056 "2021-07-01T00:43:14Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![11131](https://forum.qiime2.org/user_avatar/forum.qiime2.org/11131/32/8433_2.png) [@11131](https://forum.qiime2.org/u/11131)
#### Post date: [July 1, 2021, 12:43am UTC](https://forum.qiime2.org/t/show-the-top-abundant-asv-composition-with-interactive-bar-plots/20056/1 "2021-07-01T00:43:14Z")

</div>

Hello,  
Could the interactive bar plot created by _qiime taxa barplot_ show only the top abundant ASV or genus among samples?  
Thanks!

Hongbin Liu

---

<div class="post-metadata">

### Author: ![timanix](https://forum.qiime2.org/user_avatar/forum.qiime2.org/timanix/32/17879_2.png) [@timanix](https://forum.qiime2.org/u/timanix)
#### Post date: [July 1, 2021, 7:42am UTC](https://forum.qiime2.org/t/show-the-top-abundant-asv-composition-with-interactive-bar-plots/20056/2 "2021-07-01T07:42:40Z")

</div>

Hi!  
Do you mean, like this?

 ![level-6-bars (1)](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/1/138e731c6776e11fb77aee44686042d3295d50b9.svg)

Just open a visualization in browser, and click on the colors in the legend on taxa you would like to keep, then download an .svg image. You can also download a legend in .svg format and then manipulate it in any svg-editor or by custom scripts to remove unnecessary information.

It is working with genera or any other taxonomy level, but not with ASVs

---

<div class="post-metadata">

### Author: ![11131](https://forum.qiime2.org/user_avatar/forum.qiime2.org/11131/32/8433_2.png) [@11131](https://forum.qiime2.org/u/11131)
#### Post date: [July 1, 2021, 8:51am UTC](https://forum.qiime2.org/t/show-the-top-abundant-asv-composition-with-interactive-bar-plots/20056/3 "2021-07-01T08:51:58Z")

</div>

Hi timanix！  
Thanks for your kind reply!  
I mean if I can perform brief filtering according to the average abundance of the ASVs or genus among samples, and so that I could visualize the most abundant ASVs or genus (e.g. top 5, 10, or 20).  
Thanks!

Hongbin Liu

---

<div class="post-metadata">

### Author: ![timanix](https://forum.qiime2.org/user_avatar/forum.qiime2.org/timanix/32/17879_2.png) [@timanix](https://forum.qiime2.org/u/timanix)
#### Post date: [July 2, 2021, 7:15am UTC](https://forum.qiime2.org/t/show-the-top-abundant-asv-composition-with-interactive-bar-plots/20056/4 "2021-07-02T07:15:43Z")

</div>

> [@11131](#):
>
> I mean if I can perform brief filtering according to the average abundance of the ASVs or genus among samples, and so that I could visualize the most abundant ASVs or genus (e.g. top 5, 10, or 20).

Just click on the colors in the legend of top n features and you will get it. But it is for taxonomy units only, not for ASVs

---

<div class="post-metadata">

### Author: ![11131](https://forum.qiime2.org/user_avatar/forum.qiime2.org/11131/32/8433_2.png) [@11131](https://forum.qiime2.org/u/11131)
#### Post date: [July 2, 2021, 7:44am UTC](https://forum.qiime2.org/t/show-the-top-abundant-asv-composition-with-interactive-bar-plots/20056/5 "2021-07-02T07:44:13Z")

</div>

I see. So if I understand you correctly, you mean that I have to know which taxa are the top ones. The visualization in browser could not calculate and sort the taxa automatically, right?

---

<div class="post-metadata">

### Author: ![timanix](https://forum.qiime2.org/user_avatar/forum.qiime2.org/timanix/32/17879_2.png) [@timanix](https://forum.qiime2.org/u/timanix)
#### Post date: [July 2, 2021, 7:46am UTC](https://forum.qiime2.org/t/show-the-top-abundant-asv-composition-with-interactive-bar-plots/20056/6 "2021-07-02T07:46:18Z")

</div>

In browser, your taxa already sorted by average relative abundance across all your samples with most abundant on the top

---

<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: [August 2, 2021, 1:46pm UTC](https://forum.qiime2.org/t/show-the-top-abundant-asv-composition-with-interactive-bar-plots/20056/7 "2021-08-02T13:46:23Z")

</div>

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