Skip to main content

Alpha diversity

Analysis question

Do mice colonised with stool from donors with ADHD differ from mice colonised with stool from control donors in within-sample diversity (observed richness and Shannon index), after accounting for cohort?

Analysis information

  • Samples: 27 mice (Control n = 14, ADHD n = 13), one sample per mouse
  • Features: all 151 taxa
  • Rarefaction: 1,772 reads per sample (the smallest library), averaged over 100 random subsamples
  • Indices: observed richness (number of taxa detected); Shannon index (natural log)
  • Model: linear regression, index ~ donor group + cohort
  • Estimate: difference in mean index, ADHD minus Control, with 95% confidence interval
  • Multiple testing: none; two indices reported, interpreted by effect size and interval

Sequencing depth varied about 20-fold between mice, and observed richness rises with depth. Each sample was therefore subsampled to the depth of the shallowest sample, and the index was averaged over 100 subsamples. Rarefying to 1,772 reads discards most reads from deeper samples, so rarefied richness counts only taxa common enough to be seen at that depth.

Cohort enters the model as a fixed effect with three levels, so the donor-group estimate is a within-cohort comparison averaged over cohorts. A sensitivity model on unrarefied counts adds log10 sequencing depth as a covariate. A second exploratory model adds a donor group × cohort interaction to show whether the group difference is consistent across cohorts; with 3–6 mice per cell this test has little power.

Mice are treated as independent. The dataset does not record donor identity, so variation between donors cannot be separated from variation between mice.

Results

Diversity by donor group and cohort

Figure 1: Rarefied observed richness and Shannon index per mouse, by donor group and cohort. Each point is one mouse; horizontal bars mark the group mean within each cohort.

Adjusted difference between donor groups

Table 1: Difference in mean alpha diversity, ADHD minus Control, adjusted for cohort. Positive values mean higher diversity in mice colonised from ADHD donors. p-values are unadjusted.
Index Data Control mean ADHD mean Difference (ADHD − Control) 95% CI p
Observed richness Rarefied (primary) 53.5 53.2 -1.2 -10.8 to 8.4 0.799
Shannon index Rarefied (primary) 2.68 2.60 -0.09 -0.52 to 0.33 0.651
Observed richness Unrarefied, depth-adjusted 57.1 56.5 -1.1 -12.2 to 10.1 0.847
Shannon index Unrarefied, depth-adjusted 2.70 2.61 -0.09 -0.53 to 0.35 0.678

Mean rarefied richness differed by -1.2 taxa between groups (95% CI -10.8 to 8.4), and the mean Shannon index by -0.09 (95% CI -0.52 to 0.33). Neither difference was distinguishable from zero. The intervals are wide relative to the spread between mice (standard deviation 12.3 taxa for richness and 0.55 for Shannon), so differences of moderate size in either direction remain compatible with the data. Unrarefied indices adjusted for sequencing depth gave similar estimates.

Consistency across cohorts

Table 2: Difference in mean rarefied alpha diversity, ADHD minus Control, within each cohort (descriptive), and the test of the donor group × cohort interaction. The interaction p-value is unadjusted and exploratory.
Cohort Mice (Control / ADHD) Richness difference Shannon difference
Cohort 1 6 / 4 15.5 0.22
Cohort 2 5 / 5 -3.9 0.12
Cohort 3 3 / 4 -20.7 -0.85
Interaction test, p 0.004 0.089

The group difference in richness varied between cohorts (interaction p = 0.004, unadjusted and exploratory). Mice colonised from ADHD donors had higher mean rarefied richness than controls in Cohort 1 (15.5 taxa) and lower richness in Cohort 3 (-20.7 taxa), with a small difference in Cohort 2 (-3.9 taxa). The Shannon index followed the same pattern less clearly (interaction p = 0.089; Cohort 3 difference -0.85). Each within-cohort difference rests on 3–6 mice per group and is imprecise. If cohorts received stool from different donors, a pattern like this would be expected from differences between donors rather than from a uniform effect of ADHD status. The cohort-averaged estimate above should therefore be read as an average over differences that do not point the same way.

Interpretation

Averaged over cohorts, alpha diversity did not differ detectably between mice colonised from ADHD donors and from control donors. This is not evidence that diversity is equal: the confidence intervals include differences of moderate size in both directions. Richness differences between groups were not consistent across cohorts, so these data do not support a general statement that ADHD donor microbiota raises or lowers diversity in colonised mice.

Session information

R version 4.6.2 (2026-10-29)
Platform: x86_64-pc-linux-gnu
Running under: Ubuntu 26.04.1 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.32.so;  LAPACK version 3.12.0

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

time zone: Etc/UTC
tzcode source: system (glibc)

attached base packages:
[1] stats4    stats     graphics  grDevices utils     datasets  methods  
[8] base     

other attached packages:
 [1] knitr_1.52                      ggplot2_4.0.4                  
 [3] tidyr_1.3.2                     dplyr_1.2.1                    
 [5] vegan_2.7-8                     permute_0.10-1                 
 [7] mia_1.21.34                     TreeSummarizedExperiment_2.22.0
 [9] Biostrings_2.82.0               XVector_0.54.0                 
[11] SingleCellExperiment_1.36.0     MultiAssayExperiment_1.40.0    
[13] SummarizedExperiment_1.44.0     Biobase_2.74.0                 
[15] GenomicRanges_1.66.0            Seqinfo_1.4.0                  
[17] IRanges_2.48.0                  S4Vectors_0.52.0               
[19] BiocGenerics_0.60.0             generics_0.1.4                 
[21] MatrixGenerics_1.26.0           matrixStats_1.5.0              

loaded via a namespace (and not attached):
 [1] tidyselect_1.2.1            viridisLite_0.4.3          
 [3] vipor_0.4.7                 farver_2.1.2               
 [5] viridis_0.6.5               S7_1.0.0                   
 [7] fastmap_1.2.0               lazyeval_0.2.3             
 [9] bluster_1.24.0              DirichletMultinomial_1.56.0
[11] digest_0.6.39               rsvd_2.0.0                 
[13] lifecycle_1.0.5             cluster_2.1.8.3            
[15] tidytree_0.4.9              magrittr_2.0.5             
[17] compiler_4.6.2              rlang_1.3.0                
[19] tools_4.6.2                 igraph_2.3.4               
[21] yaml_2.3.12                 labeling_0.4.3             
[23] S4Arrays_1.14.0             htmlwidgets_1.6.4          
[25] DelayedArray_0.40.0         plyr_1.8.9                 
[27] RColorBrewer_1.1-3          abind_1.4-8                
[29] BiocParallel_1.48.0         withr_3.0.3                
[31] purrr_1.2.2                 grid_4.6.2                 
[33] beachmat_2.30.0             MASS_7.3-66                
[35] scales_1.4.0                dichromat_2.0-1            
[37] cli_3.6.6                   rmarkdown_2.32             
[39] crayon_1.5.3                treeio_1.38.0              
[41] otel_0.3.0                  reshape2_1.4.5             
[43] DelayedMatrixStats_1.36.0   scuttle_1.24.0             
[45] DBI_1.3.0                   ggbeeswarm_0.7.3           
[47] ape_5.8-1                   stringr_1.6.0              
[49] splines_4.6.2               parallel_4.6.2             
[51] yulab.utils_0.2.7           vctrs_0.7.3                
[53] Matrix_1.7-6                jsonlite_2.0.0             
[55] BiocSingular_1.30.0         BiocNeighbors_2.8.0        
[57] ggrepel_0.9.8               decontam_1.34.0            
[59] irlba_2.4.1                 beeswarm_0.4.0             
[61] scater_1.42.0               glue_1.8.1                 
[63] codetools_0.2-20            stringi_1.8.9              
[65] gtable_0.3.6                ScaledMatrix_1.22.0        
[67] tibble_3.3.1                pillar_1.11.1              
[69] htmltools_0.5.9             R6_2.6.1                   
[71] Rdpack_2.6.6                sparseMatrixStats_1.26.0   
[73] evaluate_1.0.5              lattice_0.23-1             
[75] rbibutils_2.4.1             DECIPHER_3.10.0            
[77] Rcpp_1.1.2                  gridExtra_2.3.1            
[79] SparseArray_1.13.5          nlme_3.1-172               
[81] mgcv_1.9-5                  xfun_0.62                  
[83] fs_2.1.0                    pkgconfig_2.0.3            
Published from OmicsBase on 30 Nov 2026.