Supplement 1. Details on the computational analyses needed to replicate the results.
community_response.R (MD5: fb68bd4556d88efa258ef31df99bd9ba)
R script that imports the data, summarizes the species-level and community-level diversity measures, runs the statistical analyses, and outputs figures.
ExpRADsFunctions.R (MD5: 33f248b2586218cdfd39d1bdab7d5078)
R script that holds the relevant functions for executing the community_response.R script.
ref_analysis_data.csv (MD5: 9711e20465ed8f66a3093cf49b1ca477)
Data file containing the citations and details for the references where the studies were found.
community_analysis_data.csv (MD5: 7bded51aa20016eefc079a079500eb96)
Data file containing the community-level data.
orderedcomparisons.csv (MD5: 11cdc68441e8dd2011da2594f6a70dfe)
Data file containing the details on which sites should be compared.
experiments_analysis_data.csv (MD5: 9052fc375916c1fa36be1316988a5c13)
Data file containing the details about the controls and experimental treatments.
sites_analysis_data.csv (MD5: 93ee3e4c9c4f9cfa99bddbe473b9c5ef)
Data file containing site-specific information for the studies.
The code and data in this supplement allow for the analyses and figures in the paper to be fully replicated using a data set of manipulated communities collected from the literature.
Requirements: R 3.x, and the following packages: vegan, BiodiversityR, plotrix, graphics, CCA, VGAM, nlme, lme4, poilog, scatterplot3d, hydroGOF, and VennDiagram, knitr, ggplot2, ggmap, gridExtra, GGally, and the file containing functions specific to this code, expRADsFunctions.R.
The analyses can then be replicated by changing the working directory at the top of the file community_response.R to the location on your computer where you have stored the .R and .csv files and running the code.
It should take approximately 10 minutes to run all the code from start to finish. Figures should output as pdfs in your working directory.
Version Control Repository: The full version control repository for this project (including post- publication improvements) is publicly available at https://github.com/weecology/experimental- rads. If you would like to use the code in this Supplement for your own analyses it is strongly suggested that you use the equivalent code in the repositories as this is the code that is being actively maintained.
Data use: Data is provided in this supplement for the purposes of replication. If you wish to use the data for additional research, they should be obtained from S. R. Supp or from the original authors who are cited in ref_analysis_data.csv and Appendix Table A1. The data is also published in a public figshare repository (MACD: Manipulated Animal Community Database. S. R. Supp. figshare. http://dx.doi.org/10.6084/m9.figshare.96831).