Code, figures, etc. for the paper in the Biological Journal of the Linnaean Society special issue on "Radiations and Extinctions in Deep Time".
To compile the paper you can use the Makefile:
make -C Manuscript
The Supporting Information file is available in PDF format here.
Code needed to run the Maximum Likelihood simulations and make the figures in the paper can be found in the Analyses folder.
OUsims.Rprovides all R code for simulating trees and data (GHT).OUfigures.Rprovides all R code for making the simulations figures (Figure 4 and some removed in the revision and reworked as Tables 2-6) in the paper (GHT).OhYouFigures.Rprovides all R code for making the figures (1 and 3) and table for the literature review (NC).plotFig2.Rprovides all R code for making Figure 2 (RPF).PagelParamPlots.Rprovides all R code for making additional figures that were not used in the final version of the manuscript (GHT).
OU_simulations.rdacontains all the data from the OU simulations.papers.txtcontains the number of papers found in the literature review.literature.txtcontains a summary of the papers from the literature review.ProfileDataRootyOU50.csv,ProfileDataTippyOU50.csvandProfileDataYuleOU50.csvcontain Likelihood profile data used to construct Figure 2.
At one point I (NC) began to rewrite the simulations code as a series of functions using the package diversitree. These are provided in the R folder in the file OhYou_simulations.R. Feel free to play around with them!