Sample Order in Alpha DIversity Boxplot

Dear Qiime peer,

May I know if there's any way to change the order of the sample in the x-axis of boxplot?
I applied qiime diversity alpha-group-significance to obtain the boxplot, yet the sample arrangements were not in my desired order.
Output order: Acclimatized, Field, High Temp (d25), High Temp (d7).
Desired order: Field, Acclimatized, High Temp (d7), High Temp (d25).
Hereby I attached the boxplot for your reference.

Thank you.

Hi @Benedict,
The plot is ordering your groups alphabetically. You can just call these groups “High Temp A (d7)” and “High Temp B (d25)” to order them appropriately.

Good luck!

1 Like

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