R code for reconstructing the evolution of mammal arboreality
Ecological selectivity and the evolution of mammalian substrate preference across the K–Pg boundary
Accepted for publication at Ecology and Evolution, August 2021 DOI NA
Jonathan J. Hughes (1,ƛ,%), Jacob S. Berv (1,2,3,ƛ,@), Stephen G. B. Chester (4,5,6), Eric J. Sargis (7,8,9), Daniel J. Field (9,10,11,%)
- Department of Ecology & Evolutionary Biology, Cornell University, Ithaca, NY, USA
- Department of Ecology & Evolutionary Biology, University of Michigan, Ann Arbor, MI, USA
- University of Michigan Museum of Paleontology, University of Michigan, Ann Arbor, MI, USA
- Department of Anthropology, Brooklyn College, City University of New York, Brooklyn, NY, USA
- Department of Anthropology, The Graduate Center, City University of New York, New York, NY, USA
- New York Consortium in Evolutionary Primatology, New York, NY, USA
- Department of Anthropology, Yale University, New Haven, CT, USA
- Divisions of Vertebrate Paleontology and Vertebrate Zoology, Yale Peabody Museum of Natural History, New Haven, CT, USA
- Yale Institute for Biospheric Studies, New Haven, CT, USA
- Department of Earth Sciences, University of Cambridge, Cambridge, UK
- Museum of Zoology, University of Cambridge, UK
ƛAuthors contributed equally
%Authors for correspondence: jjh359@cornell.edu; djf70@cam.ac.uk
@Code author: jsb439@cornell.edu
Summary of contents:
Meredith_2011.R and Upham_2019.R are respectively, R scripts for producing analyses of ancestral ecologies using the Meredith et al 2011 and Upham et al 2019 consensus topologies. In the case of Upham et al 2019, additional analyses are performed on a sample of 1000 posterior trees. These primary scripts rely on and source functions contained within rate_through_time.R, helpers.R, and simmap_parallel.R R documents. These will eventually be implemented in a separate R package.
mammal_data_v2 is the dataset used for reconstructions on the Meredith_2011 topology. mammal_data_v2_upham is the dataset used for reconstructions on the Upham_2019 topology.
Analysis output files are deposited inside analyses_out