# Qiime2-R error in filter() shannon plots

**URL:** https://forum.qiime2.org/t/qiime2-r-error-in-filter-shannon-plots/22203
**Category:** Other Bioinformatics Tools
**Tags:** qiime2-r
**Created:** [February 17, 2022, 6:50am UTC](https://forum.qiime2.org/t/qiime2-r-error-in-filter-shannon-plots/22203 "2022-02-17T06:50:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![DB07](https://forum.qiime2.org/user_avatar/forum.qiime2.org/db07/32/12888_2.png) [@DB07](https://forum.qiime2.org/u/DB07)
#### Post date: [February 17, 2022, 6:50am UTC](https://forum.qiime2.org/t/qiime2-r-error-in-filter-shannon-plots/22203/1 "2022-02-17T06:50:31Z")

</div>

Hi!  
I'm trying to plot the shannon diversity from the tutorial, using the moving pictures tutorial files, but I'm getting this error and the corresponding command:

 ![image](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/f/f7ad0902a8e41ba8c4dd2d9ca7f2dd335af4c46a.png)

---

<div class="post-metadata">

### Author: ![DB07](https://forum.qiime2.org/user_avatar/forum.qiime2.org/db07/32/12888_2.png) [@DB07](https://forum.qiime2.org/u/DB07)
#### Post date: [February 18, 2022, 4:20pm UTC](https://forum.qiime2.org/t/qiime2-r-error-in-filter-shannon-plots/22203/2 "2022-02-18T16:20:34Z")

</div>

Hi! I already solved my issue (but couldn’t find how to eliminate my post)  
I had in my metadata **shannon\_entropy** instead of just **shannon** , I changed it in the 2 and 3 line of the code and it solved everything.

---

<div class="post-metadata">

### Author: ![Mehrbod\_Estaki](https://forum.qiime2.org/user_avatar/forum.qiime2.org/mehrbod_estaki/32/4001_2.png) [@Mehrbod\_Estaki](https://forum.qiime2.org/u/Mehrbod_Estaki)
#### Post date: [February 19, 2022, 8:43am UTC](https://forum.qiime2.org/t/qiime2-r-error-in-filter-shannon-plots/22203/3 "2022-02-19T08:43:36Z")

</div>

Hi @DB07,  
Welcome to the forum!  
Thanks for following up on your post, no need to delete it either, this will be useful for others running into the same issue down the line.

---

<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: [March 22, 2022, 2:44pm UTC](https://forum.qiime2.org/t/qiime2-r-error-in-filter-shannon-plots/22203/4 "2022-03-22T14:44:24Z")

</div>

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