Skip to content

Code for manuscript "Global elongation and high shape flexibility as an evolutionary hypothesis of accommodating mammalian brains into skulls", Weisbecker et al."

Notifications You must be signed in to change notification settings

VWeisbecker/Brain_shape_study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marsupial Brain Shape Evolution

Code authors: Emma Sherratt, Vera Weisbecker

This code runs all analyses for the manuscript "Global elongation and high shape flexibility as an evolutionary hypothesis of accommodating mammalian brains into skulls" by Weisbecker et al. (at Evolution; an open-access near-identical pre-print is available on Biorxiv).

All scripts are in RMarkdown format (.Rmd) and can be opened in RStudio. There, you can edit and run code chunks as normal or use the Knit button to create HTML versions with both code and output. After cloning this repo, remember to either set your working directory to the Weisbecker_et_al_Brain_shape folder on your computer or open an RStudio project from that folder.

The code is commented out and explains where the various data and auxiliary files are needed. The following is just a brief overview.

Data

Raw data:

  • The Raw Data folder in this repository contains shape coordinates, a specimen data file for information associated with each specimen, as well as auxiliary files for semi-landmark sliding for automatic and manual landmark placements as required by the code
  • Ply files for automatic landmark placement is a figshare repository that needs to be pasted in to Data/Raw for automatic landmark placement to work
  • Endocasts and endocast dissections is a figshare repository containing endocast stl files (on which the fixed/curve and manual surface landmarks were placed) and dissected brain partition volumes.

Phylogenetic data:

  • Phylogeny used contains the files for the three alternative trees used in the paper.

Analyses (Analysis folder)

Figures (Figure folder)

The code in 03_Marsbrain_Figures.Rmd outputs the plots and table into this folder. Note that this code may require a folder substructure to be built by the user as the figures are created.

About

Code for manuscript "Global elongation and high shape flexibility as an evolutionary hypothesis of accommodating mammalian brains into skulls", Weisbecker et al."

Resources

Stars

Watchers

Forks

Packages

No packages published