Fig. 3: Virome convergence before NEC onset.

a, Sorensen dissimilarity between cases (red) and between controls (blue) in sliding windows before NEC onset (7 d windows with 2 d steps). Medians with 95% confidence intervals are shown. Statistical significance at each window was assessed by two-sided Mann–Whitney U-test. b, LEfSe of contigs in case samples. Purple indicates features associated with 0–10 d before NEC. Green indicates features associated with 10–46 d before NEC. c, Prevalence and abundance of NEC-associated contigs in cases, in 5 d intervals before NEC. Statistical significance was assessed by Friedman test with Dunn’s multiple comparisons (P values in Supplementary Table 13). d, For each discriminant contig, linear regression was performed on prevalence and average abundance in 5 d intervals before NEC in cases (red) and controls (blue). Regression coefficients for abundance and prevalence are shown on the x and y axes, respectively.