Supporting Information Notes S1 and Fig. S1 Notes S1 Methods for phylogenetic independent contrasts Comparisons across species risk pseudoreplication if phylogeny is ignored (Felsenstein, 1985), so we obtained phylogenetically independent contrasts for habitat type and our three measures of endophyte frequency. For each analysis, we assembled trees for host plants in Mesquite version 2.71 (Maddison & Maddison, 2009) using phylogenetic data from published trees constructed using molecular data sets (Vergara & Bughrara, 2003; Catalan et al. 2004; Torrecilla et al., 2004; Blattner, 2004; Strauss et al., 2006). Because branch length information was not available, we chose the best branch length estimator for each variable following published recommendations (PDAP PDTREE; Midford et al., 2005). To examine the relationship between endophyte status and habitat type, we performed phylogenetic logistic regression (PlogReg.m; Ives & Garland, 2010) using MATLAB (version 5.0 MathWorks, 1996). PlogReg.m requires a phylogenetic variance-covariance matrix and a tip (variables) data file which were generated using the programs PDIST (Garland et al., 1993) and PDTREE (Midford et al., 2005), respectively. We report means and bootstrapped 95% confidence intervals for the regression coefficient and the parameter α (a measure of the strength of the phylogenetic signal). To examine relationships between habitat type and our two measures of endophyte frequency, we performed regression through the origin (SAS Institute 2004) using the phylogenetically independent trait values (i.e., standardized contrast values), and we report adjusted correlation coefficients (Garland et al., 1992). For a phylogenetic tree with some polytomous nodes, the degress of freedom range from a minimum of the number of nodes minus one to a maximum of the number of species minus two (Midford et al., 2005). Because it remains unclear whether polytomies in our trees are hard or soft, we present the full range of P- values for the correlations. Fig. S1 Phylogenetic trees used for examining relationships between endophyte frequency and habitat type. (a) Phylogenetic tree used for examining the relationship between mean endophyte frequency per population and habitat type (shaded or not). For the calculation of independent contrasts, the best branch length estimator for the mean frequency per population was Nee’s arbitrary branch length, in which the depths of the nodes equal the log of the number of extant (tip) species descendent in the tree (Midford et al., 2005) For habitat type the best branch length estimator was all branch lengths = 1. (b) Phylogenetic tree used for examining the relationship between percentage of populations with the endophyte and habitat type (shaded or not). For the calculation of independent contrasts, the best branch length estimator for the percentage of populations was Nee’s arbitrary branch length. For habitat type the best branch length estimator was all branch lengths = 1. (c) Tree used for examining the relationship between the endophyte status of potential grass hosts and habitat type (shaded or not). The best branch length estimator for both variables was Nee’s arbitrary branch length (Midford et al., 2005). References Blattner FR. 2004. Phylogenetic analysis of Hordeum (Poaceae) as inferred by nuclear rDNA ITS sequences. Molecular Phylogenetics and Evolution 33(2): 289-299. Catalan P, Torrecilla P, Rodriguez JAL, Olmstead RG. 2004. Phylogeny of the festucoid grasses of subtribe Loliinae and allies (Poeae, Pooideae) inferred from ITS and trnL-F sequences. Molecular Phylogenetics and Evolution 31(2): 517-541. Felsenstein J. 1985. Phylogenies and the comparative method. American Naturalist 125(1): 115. Garland T, Dickerman AW, Janis CM, Jones JA. 1993. Phylogenetic analysis of covariance by computer simulation. Systematic Biology 42(3): 265-292. Garland T, Harvey PH, Ives AR. 1992. Procedures for the analysis of comparative data using phylogenetically independent contrasts. Systematic Biology 41(1): 18-32. Ives AR, Garland T. 2010. Phylogenetic logistic regression for binary dependent variables. Systematic Biology 59(1): 9-26. Maddison WP, Maddison DR 2009. Mesquite: a modular system for evolutionary analaysis. MathWorks I. 1996. MATLAB. version 5.0. Natick (MA): The Mathworks, Inc. Midford PE, Garland Jr., Maddison WP 2005. PDAP Package of Mesquite. Version 1.14. SAS Institute. 2004. SAS version 9.1.3. SAS Institute. Cary, NC, USA. Strauss SY, Webb CO, Salamin N. 2006. Exotic taxa less related to native species are more invasive. Proceedings of the National Academy of Sciences of the United States of America 103(15): 5841-5845. Torrecilla P, Lopez-Rodriguez JA, Catalan P. 2004. Phylogenetic relationships of Vulpia and related genera (Poeae, Poaceae) based on analysis of ITS and trnL-F sequences. Annals of the Missouri Botanical Garden 91(1): 124-158. Vergara GV, Bughrara SS. 2003. AFLP analyses of genetic diversity in bentgrass. Crop Science 43(6): 2162-2171.