# Reorganize metadata in boxplot

**URL:** <https://forum.qiime2.org/t/reorganize-metadata-in-boxplot/3673>\
**Category:** User Support\
**Tags:** boxplots\
**Created:** [April 5, 2018, 2:56pm UTC](https://forum.qiime2.org/t/reorganize-metadata-in-boxplot/3673 "2018-04-05T14:56:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nathalie\_C](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/n/6f9a4e/32.png) [@Nathalie\_C](https://forum.qiime2.org/u/Nathalie_C)\
**Post date:** [April 5, 2018, 2:56pm UTC](https://forum.qiime2.org/t/reorganize-metadata-in-boxplot/3673/1 "2018-04-05T14:56:24Z")

</div>

Hello,

Few months ago, someone post a question concerning a way to reorder the metadata on the x axis of boxplot.

> [@Alpha diversity box plots](https://forum.qiime2.org/t/alpha-diversity-box-plots/1241/2):
>
> Hi @Lisa_Crummett! Unfortunately not yet, but [it is on our radar](https://github.com/qiime2/q2-diversity/issues/133). We will update this thread whenever it becomes available (no ETA yet). Sorry, that isn't available, but I have [opened an issue](https://github.com/qiime2/q2-diversity/issues/139) on our issue tracker so that we can keep this in mind in future iterations of QIIME 2. It seems like the data export you requested above is probably higher priority, because if you had access to that data, you could plot it however you like! That is unexpected - would you be able to attach a screensh…

An issue had been created, but I can't access the website ([Reorder x-axis values in `alpha_group_significance` plots · Issue #139 · qiime2/q2-diversity · GitHub](https://github.com/qiime2/q2-diversity/issues/139)). I was wondering if this issue has been fixed?

Thanks!

---

<div class="post-metadata">

**Author:** ![ebolyen](https://forum.qiime2.org/user_avatar/forum.qiime2.org/ebolyen/32/11_2.png) [@ebolyen](https://forum.qiime2.org/u/ebolyen)\
**Post date:** [April 5, 2018, 3:03pm UTC](https://forum.qiime2.org/t/reorganize-metadata-in-boxplot/3673/2 "2018-04-05T15:03:13Z")

</div>



---

<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:** [April 5, 2018, 3:19pm UTC](https://forum.qiime2.org/t/reorganize-metadata-in-boxplot/3673/3 "2018-04-05T15:19:00Z")

</div>

> [@Nathalie\_C](#):
>
> An issue had been created, but I can’t access the website

That's strange — that link works for me.

> [@Nathalie\_C](#):
>
> I was wondering if this issue has been fixed?

No, looks like that is still an open issue.

For now, the best way to order this how you like will be to create a dummy metadata category where each group is coded by a letter in the order you want these displayed... a, b, c, etc. Then you can manually relabel these when preparing figures.

The issues to reorder boxplots and to download raw data are both open, but the latter will probably be fixed sooner (but I do not have an ETA).

---

<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:** [April 5, 2018, 3:19pm UTC](https://forum.qiime2.org/t/reorganize-metadata-in-boxplot/3673/4 "2018-04-05T15:19:01Z")

</div>



---

<div class="post-metadata">

**Author:** ![Nathalie\_C](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/n/6f9a4e/32.png) [@Nathalie\_C](https://forum.qiime2.org/u/Nathalie_C)\
**Post date:** [April 5, 2018, 3:52pm UTC](https://forum.qiime2.org/t/reorganize-metadata-in-boxplot/3673/5 "2018-04-05T15:52:09Z")

</div>

Thanks Nicholas!

I have a restricted internet access at work. Maybe this is why I can't access the website...

Thanks for the tips, it works well 😉

Best,  
Nathalie

---

<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:** [May 6, 2018, 9:52pm UTC](https://forum.qiime2.org/t/reorganize-metadata-in-boxplot/3673/6 "2018-05-06T21:52:12Z")

</div>

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