Fig. S2 Plant resource allocation was evaluated six weeks after nematode inoculation by: shoot/root ratio by length and shoot/root ratio by weight. 15 plants were sampled for each treatment. Three endophyte treatments were included: Control, Medium, and High. Each plant in the Nematode treatment groups received 2,000 eggs at first true leaf stage. A factorial MANOVA was performed to test for the overall effects of Endophyte or Nematode treatment on plant growth. Post-hoc univariate comparisons were performed to examine the effects on the specific growth variables that were measured, shoot/root ratio by weight and shoot/root ratio by length. If an overall significance was detected, pairwise comparisons (Student’s t tests) were conducted to compare effects on each plant growth parameters among treatments. Each error bar represents 1 standard error from the mean.

Factorial MANOVA indicated that there was an overall significant effect on plant growth (Wilks’ Lambda = 0.6934, F6, 160 = 5.3566, p < 0.0001), with both Endophyte (Wilks’ Lambda = 0.8541, F4, 160 = 3.2808, p = 0.0129) and Nematode (F2, 80 = 11.7466, p < 0.0001) treatments significantly influenced plant growth.

Factorial ANOVA suggested that a significant overall effect on shoot/root ratio by weight (F5, 79 = 9.0119, p < 0.0001). Both the Endophyte (F2, 79 = 7.8390, p = 0.0008) and Nematode (F1, 79 = 25.5172, p < 0.0001) treatments greatly influenced the weight ratio, with a strong interaction between the two (F2, 79 = 4.8605, p = 0.0102). However, no overall significant effect on shoot/root ratio by length was detected (F5, 79 = 2.0238, p = 0.0842).

The pairwise comparisons indicated that, in the absence of nematodes, the High treatment is significant different from its Control in the weight ratio (Student’s t, p = 0.0007); and the Medium treatment is significant different from its Control in the weight ratio (Student’s t, p = 0.0067).