Fig. 4: Stochasticity and ecological drift in community assembly.

a–d Stochasticity is detected from values of two indices, β-Nearest Taxon Index (βNTI) and Raup-Crick Index (RCI). Where |βNTI| < 2 and |RCI| < 0.95 (red bars), compositional variance is most likely due to stochasticity, which in this range is independent from dispersal and selection. Note that stochasticity is dominant in early time points in leaves and roots. Selection is favored as the force for community assembly where βNTI ≤ −2 and RCI ≤ −0.95 (black). Here, communities are more clustered than expected by chance both phylogenetically and ecologically, likely due to homogenous selection. Where |βNTI| < 2 and RCI ≤ −0.95 (blue), communities are ecologically more clustered than by expected by chance but phylogenetically stochastic. In this case, community composition can be a result of either homogenous selection or homogenous dispersal and, of the two choices, homogenous selection is preferred due to the observed strong selection by host compartment and time, as demonstrated in Fig. 2A and Supplementary Data 4. (e–g) Stochasticity and community size. Ecological drift can be strengthened when the stochastic component of compositional variance is negatively correlated with community size. Here, we demonstrate this correlation when community size is estimated in three different ways: e fungal rDNA, internal transcribed spacer (ITS2) reads as a percentage of total ITS2 reads amplified from fungal plus sorghum host DNA, f fungal 18S rDNA amount assessed by real-time or quantitative PCR amplification and g fungal RNA as a percentage of fungal plus plant reads found in the transcriptomes of sorghum leaves and roots. h Stochasticity and richness. Ecological drift is suggested by a positive correlation between fungal richness and the stochastic component of compositional variance, as shown here. Source data are provided as a Source Data file.