Skip to main content
. 2014 Feb 19;9(2):e89314. doi: 10.1371/journal.pone.0089314

Figure 2. Schematic representation of the habitat and microhabitat analyses used to decompose the total variation in spider body size and flatness into phylogenetic, ecological and niche conservatism components.

Figure 2

Phylogenetic eigenvector regression (PVR) is represented by a back-transformation of the phylogeny with a double-centralization of the resulting matrix and is followed by a principal coordinates analysis (PCoA); the matrix X represents the eigenvectors that are significantly correlated with species' body size (Fig. 2A). Figure 2B shows the partial regressions used to calculate components a, b, c and d; first, we calculated the estimated and residual values (ecoest and ecores) for a regression between body size and the ecological data; then, we regressed body size and the phylogenetic data and saved the estimated and residual values (phyest and phyres); finally, we computed the regression between body size and both the ecological and the phylogenetic data to obtain the percentages of the variance explained (R2 of the regression method) by the ecological component [a], the niche conservatism b, the phylogenetic component [c] (phylogeny) and the unexplained variation d (unexplained variation), following the procedure proposed by Desdevises et al. [15]. Figure 2C illustrates the procedure used to obtain the mean value of spider body size (or flatness) and the average value of components [a], [b] and [c] obtained (see Figure 2B) for each bromeliad species. We then constructed a linear regression between each value (Y, [a], [b] and [c]) and the mean value of bromeliad morphological variables (leaf length, leaf width and number of leaves) after the selection of best models with the Akaike Information Criterion (AIC).