# General questions

**URL:** https://forum.qiime2.org/t/general-questions/8546
**Category:** User Support
**Created:** [February 27, 2019, 2:00am UTC](https://forum.qiime2.org/t/general-questions/8546 "2019-02-27T02:00:41Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![marko](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@marko](https://forum.qiime2.org/u/marko)
#### Post date: [February 27, 2019, 2:00am UTC](https://forum.qiime2.org/t/general-questions/8546/1 "2019-02-27T02:00:41Z")

</div>

Hi Guys,  
I have recently started using QIIME2. Totally self taught through the tutorials and online vids and seem to be getting there slowly.  
This data set is from mice receiving different drug treatments (ie grouped by treatment), followed by 16s analysis of the faecal microbiome.  
I have a few (probably very simple) questions I haven't quite been able to work out from searching, my apologies if I should have found the answers.

1. When looking at the alpha and beta analysis outputs (output via core-metrics command), under the box plots there is usually a p'value for 'all groups' followed by a heap of p-values for 'pairwise'. I understand the value for ''pairwise' is simply the comparison between one group and another, however if I have for example 10 groups, what exactly is the 'all groups' p-value telling me?
2. When looking at beta-diversity boxplots such as the unifrac-distance, why is it that the first boxplot is the group being compared to. Eg in the attached graph, why is 37 graphed, and why isn't it '1' if it is being compared to itself?  
[unweighted-unifrac-body-site-significanceday3.qzv](https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/flex002/uploads/qiime21/original/2X/9/9787e62afe7b44bd07dfd3ee943bc5b407830f95.qzv) (431.9 KB)
3. Finally, in my taxa summary output after using gneiss-balance-taxonomy, am I right to pick the bacterial genera listed in the numerator and denominator bargraphs under 'balance taxonomy' as the most likely bacteria to be changing between treatment groups, and therefore these specific bacteria may be worth investigating individually using pairwise analysis?

Thankyou in advance, I have spent a few days trying to get my head around these aspects and apologise if they have been answered before.  
mark

---

<div class="post-metadata">

### Author: ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)
#### Post date: [February 27, 2019, 3:05pm UTC](https://forum.qiime2.org/t/general-questions/8546/2 "2019-02-27T15:05:06Z")

</div>

> [@marko](#):
>
> Totally self taught

Welcome! :qiime2: ❤

> [@marko](#):
>
> online vids

Care to share? We haven't made any (that I know of), so I suspect these are community-built resources.

> [@marko](#):
>
> I have a few (probably very simple) questions

No worries, that is what we are here for! In the future though, it helps us, and other users, when you try and keep each topic post to a single question (so here, this topic post would actually be three topic posts). This helps improve search-ability, as well as makes it a bit easier for us to triage and reply to when it is more digestible. Thanks!

> [@marko](#):
>
> When looking at the alpha and beta analysis outputs (output via core-metrics command), under the box plots there is usually a p’value for ‘all groups’ followed by a heap of p-values for ‘pairwise’. I understand the value for '‘pairwise’ is simply the comparison between one group and another, however if I have for example 10 groups, what exactly is the ‘all groups’ p-value telling me?

This is the H statistic and p value for the KW test across all 10 groups (each group is treated as a kw "sample", so each qiime 2 sample is then a "measurement"). Since KW tests the null hypothesis that the population median of all of the sample groups are equal, this will tell you whether or not the metadata groups medians are equal or not. It won't tell you _which_ groups are responsible, but that is where the pairwise tests come in.

> [@marko](#):
>
> When looking at beta-diversity boxplots such as the unifrac-distance, why is it that the first boxplot is the group being compared to. Eg in the attached graph, why is 37 graphed, and why isn’t it ‘1’ if it is being compared to itself?

Please see:

> [@How to interpret beta-group-significance results (boxplots)](https://forum.qiime2.org/t/how-to-interpret-beta-group-significance-results-boxplots/2091):
>
> Hi there, I was wondering if someone would be happy to explain how to interpret the output of beta-group-significance, particularly the pairwise boxplots. One thing that's really confusing me is the 'n' numbers under the boxplots (see below for example). Initially I assumed that it referred to the number of samples in that category, but that can't be possible as n=216 for 'supra' when I know there are only 24 'supra' samples and only 35 samples total in my dataset. Is 'n' the number of 'distan…

> [@marko](#):
>
> Finally, in my taxa summary output after using gneiss-balance-taxonomy, am I right to pick the bacterial genera listed in the numerator and denominator bargraphs under ‘balance taxonomy’ as the most likely bacteria to be changing between treatment groups, and therefore these specific bacteria may be worth investigating individually using pairwise analysis?

cc @mortonjt

---

<div class="post-metadata">

### Author: ![marko](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@marko](https://forum.qiime2.org/u/marko)
#### Post date: [February 27, 2019, 11:50pm UTC](https://forum.qiime2.org/t/general-questions/8546/3 "2019-02-27T23:50:23Z")

</div>

Hi Matthew,  
thanks for that.

> [@thermokarst](#):
>
> Care to share? We haven’t made any (that I know of), so I suspect these are community-built resources.

I probably should have been more clear, I was referring to the general microbiome analysis vidoes from Dan Knights on youtube

> [@thermokarst](#):
>
> This is the H statistic and p value for the KW test across all 10 groups (each group is treated as a kw “sample”, so each qiime 2 sample is then a “measurement”). Since KW tests the null hypothesis that the population median of all of the sample groups are equal, this will tell you whether or not the metadata groups medians are equal or not. It won’t tell you _which_ groups are responsible, but that is where the pairwise tests come in.

Makes sense - thanks!

> [@thermokarst](#):
>
> Please see:
> 
> ![](https://forum.qiime2.org/user_avatar/forum.qiime2.org/matilda_h-d/40/576_2.png) [How to interpret beta-group-significance results (boxplots)](https://forum.qiime2.org/t/how-to-interpret-beta-group-significance-results-boxplots/2091) [User Support](https://forum.qiime2.org/c/user-support)

So if we look at the example in the post you linked, am I right in looking at the box 'sub' as kind of the alpha-diversity within the 'sub' group, and the other boxes are the beta-diversity distances between sub/supra and sub/supra\_sub respectively?

Thanks  
Mark

---

<div class="post-metadata">

### Author: ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)
#### Post date: [February 28, 2019, 2:44pm UTC](https://forum.qiime2.org/t/general-questions/8546/4 "2019-02-28T14:44:49Z")

</div>

> [@marko](#):
>
> am I right in looking at the box ‘sub’ as kind of the alpha-diversity within the ‘sub’ group

No, I don't think that is a great way to think about it --- these are all beta diversity measures. The first box is a distribution of computed beta diversity values of all pairwise comparisons of the samples _within_ the 'sub' group.

> [@marko](#):
>
> and the other boxes are the beta-diversity distances between sub/supra and sub/supra\_sub respectively

Yep, I agree with this! The other boxes are all pairwise comparisons of the samples from the 'sub' group to the other groups.

---

<div class="post-metadata">

### Author: ![marko](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@marko](https://forum.qiime2.org/u/marko)
#### Post date: [February 28, 2019, 11:18pm UTC](https://forum.qiime2.org/t/general-questions/8546/5 "2019-02-28T23:18:33Z")

</div>

Ok thanks - makes sense.  
And thanks to you guys for answering all the questions and maintaining this resource.

---

<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: [April 1, 2019, 5:18am UTC](https://forum.qiime2.org/t/general-questions/8546/6 "2019-04-01T05:18:33Z")

</div>

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