This repository contains an Excel file and a script, both associated with the analyses presented in the manuscript "Arbuscular mycorrhizal density and propagation are driven by vegetation cover and plant phylogenetic diversity" submitted to Plant and Soil. Below is a detailed description of the contents of each file to facilitate their understanding. Excel File: Data_mico This Excel consists of a first sheet titled "variable", where all the variables referenced in the file are described, followed by six additional sheets containing the data. "Esp_g" is the spore count in the field. "pt_trampa" is the spore count on trap consortiums (allochthonous/autochthonous, diverse/non-diverse). "tpOrigen" is the spore count for autochthonous vs. allochthonous trap consortiums. "tpDiv" is the spore count for diverse vs. non-diverse trap consortiums. Flora_ind are the vegetation indicators (diversity, richness and diversity) for each plot (7 plots for each site), AM/NM plant richness is also included. "all" is the summary of variables, means, standard error and sample size. Script: Script_mico The R script includes the data processing and statistical analyses performed during the study. Below are the main sections of the script needed to achieve the objectives of the study. 1. spores_density_site_season Here we describe the plots according to spore counts. We determine the influence or not of season and microenvironment on AMF spore density. 2. vegetation index (richness/cover/diversity/MycoType) Here we describe the plots according to the vegetation index. 3. vegetation_spore_density Here we evaluate the relationship between the vegetation index and the density of AMF spores. Additionally, we consider the potential influence of the sampling site on this relationship. 4. plots distances Here we calculate the distances between the plots and evaluate whether these distances are determining the AMF spore density or the vegetation index. 5. trap_cultures Here we evaluate the success of AMF spore propagation and whether the propagation of AMF spores is influenced by the origin (autochthonous/allochthonous) and/or by the diversity (diverse/non-diverse) of the consortium under controlled conditions.