Thomas Guillerme and Natalie Cooper.
This repository contains all the code and data used in the manuscript.
All the raw data (cladistic matrices) and transformed data (cladistic matrices with corrected taxonomy entries) are abailable in the data folder on this repository. The raw data are also avaialble on figshare.
All the individual functions for this analysis (and their testing) are avaiable in the function folder.
The analysis is divided into three steps
Note that the first steps take some time (several hours on your usual ~2GHz clock speed machine's CPU) so the results from this steps is made directly available here.
This step sorts all the OTUS from all the matrices into either living
or fossil
taxa in order to have the list of all the available mammals with discrtete morphological data. The code for this step is available here.
The second step analysis the data availability within each mammalian order. It calculates the proportion of living mammals with avaiable cladistic data as well as the distribution of this data accross the phylogeny. The code for this step is available here.
Finally, the third step summarises the results of the analysis in step 2 and generates the manuscript figure/table (fable!) containing all the information of the availability and distribution of living mammals cladistic data. The code for this step is available here.
Note that the output is a table in LaTeX
format (longtable
).
The code for each supplementary analysis is available in the following links: