# interpretation beta diversity / permdisp / adonis

**URL:** https://forum.qiime2.org/t/interpretation-beta-diversity-permdisp-adonis/21856
**Category:** User Support
**Created:** [January 12, 2022, 12:48pm UTC](https://forum.qiime2.org/t/interpretation-beta-diversity-permdisp-adonis/21856 "2022-01-12T12:48:51Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![AnkeWigger](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/a/bc8723/32.png) [@AnkeWigger](https://forum.qiime2.org/u/AnkeWigger)
#### Post date: [January 18, 2022, 11:14am UTC](https://forum.qiime2.org/t/interpretation-beta-diversity-permdisp-adonis/21856/5 "2022-01-18T11:14:16Z")

</div>

Hello Colin,

Thank you for this explanation again!  
However, I am still a bit confused in the order. Please let me know if I have interpreted this the correct way or not:

When looking at the PD mouse tutorial adonis:

qiime diversity adonis   
--i-distance-matrix core-metrics-results/unweighted\_unifrac\_distance\_matrix.qza   
--m-metadata-file metadata.tsv   
--o-visualization core-metrics-results/unweighted\_adonis.qzv   
--p-formula genotype+donor

By putting genotype first in the formula (genotype + donor, not donor+genotype) I adjust for donor to see if genotype will still have an effect.  
So if I want to analyse the effect of treatment on my chickens I should write the formula line like this: --p-formula treatment + room.  
And if I want to analyse the effect of room I do it the other way around.

is this correct?

---

_[View the full topic](https://forum.qiime2.org/t/interpretation-beta-diversity-permdisp-adonis/21856)._
