Published June 20, 2024 | Version v1
Dataset Open

Data and scripts for "The role of stochasticity in fungal community assembly – explaining apparent stochasticity with field experiments"

Description

The results presented in the manuscript “The role of stochasticity in fungal community assembly – explaining apparent stochasticity by field experiments” can be reproduced by the data and scripts provided in this repository.

Concerning the analysis of observational data:

·        The file ObservationalData.RData includes all data: XData is the dataframe including the predictors, and t is the vector of responses (F. rosea occurrences).

·        The script O1_model_observational_data.R defines the models, fits the models, and computes model fits based on cross-validation. The results are saved into a file.

·        The script O2_show_results_observational_data.R loads the results saved by the previous script, and outputs the results reported in the manuscript.

Concerning the analysis of experimental data:

·        The file ExperimentalData.RData includes all data: the dataframe meta includes the relevant predictors, otu.table the matrix of samples x OTU read counts, and the dataframe taxonomy the taxonomic placement of those OTUs.

·        The script E1_compute_model_based_ordinations.R precomputes the gllvm-ordinations needed both for the colonization success model as well as the community divergence model. The precomputed ordinations are saved into a file.

·        The script E2_model_colonization_success.R defines the colonization success model, fits the model, and computes model fit based on cross-validation. The results are saved into a file.

·        The script E3_show_colonization_model_results.R loads the results saved by the previous script, and outputs the results reported in the manuscript.

·        The script E4_model_community_divergence defines the community divergence model and fits the model. The results are saved into a file.

·        The script E5_show_community_divergence_model_results.R loads the results saved by the previous scripts, and outputs the results reported in the manuscript, including Table 1 and Figure 2.

Files

Files (392.2 kB)

Name Size Download all
md5:18279b8c2ee89069a5ebb2e48fb4a3c2
485 Bytes Download
md5:b2ed2a4b75ce63576aa88ea6e2a4ba5c
2.2 kB Download
md5:ddcca7c491288587868fb035bfb8f2a9
957 Bytes Download
md5:2f60aaa5c870646fb42f65b8b62466bf
2.0 kB Download
md5:dc066c613c7fc0930d70ef5af9c26041
2.3 kB Download
md5:da25bacccdfda4613299d7f3058df351
376.8 kB Download
md5:97079b0a91efe6badacf99da3d3289bc
1.3 kB Download
md5:eedce7fde26810b8e9a3042234931bf1
297 Bytes Download
md5:fdf9506d1c7e15eab8844c5f0bfcff58
5.8 kB Download

Additional details

Related works

Is supplement to
Dataset: 10.1098/rspb.2024.2416 (DOI)

Funding

European Commission
LIFEPLAN - A Planetary Inventory of Life – a New Synthesis Built on Big Data Combined with Novel Statistical Methods 856506
Research Council of Finland
Plant-mycorrhizal associations under environmental change 308651
Research Council of Finland
Bringing an evolutionary perspective to community ecology using plant-fungal symbiotic networks as a study system 342374
Research Council of Finland
Predictive Understanding of Global Biodiversity Dynamics 336212
University of Helsinki
Three-year grant programme #
University of Helsinki
University of Helsinki Research Foundation PhD programme #
Natural Resources Institute Finland
UNITE flagship #