This repository contains code and data needed to reproduce the article:
Lei, J., Wu N. C., & Zhang Z. (In submission) A novel function of banded rings to prevent cannibalism in snake-eating snakes.
Zonodo repository:
Wu N.C. (2022) nicholaswunz/bandy-snake-phylogeny: Data for peer-review (v1.0). Zenodo.
Raw data
- bandy_exp_data.csv - Raw behavioural data used for the analysis.
- snake_diet_phylogeny.csv - Raw phylogeny data used for the analysis.
- squam_shl_new.tre - Snake phylogeny from Tonini et al. (2017).
R codes
- comparative_analysis.R - Data cleaning, analysis and figure production for the phylogenetic analysis.
- bandy_exp_analysis.R - Data cleaning, analysis and figure production for the behavioural predation experiment.
- geom_flat_violin.R - Function to create half violin plots.
To update
Keywords: ancestral state reconstruction, macroevolution, ophiophagy, pattern evolution, Serpentes