Summary of statistical results for the impact of stage, larval parasite exposure or their interaction on immune gene expression in the gut and whole body. Full statistical tables for each gene are available in electronic supplementary material, table S1. The expression of each gene was fit with the model: expression ∼ stage × exposure using the lm() function in R, where stage has three levels (larva, pupa, adult) and parasite exposure has two levels (exposed, unexposed). p-values were adjusted for false discovery rate using the Benjamini–Hochberg method, and asterisks indicate the level of significance for at least one level of factor or interaction, relative to unexposed larvae: *padj < 0.05, **padj < 0.01, ***padj < 0.001. ‘—’ indicates lack of statistical significance.