This repository contains all files needed to run the analyses in:
Lord JS, Leyland R, Haines LR, Barreaux A, Bonsall M, Torr SJ, English S. Title to be decided. Manuscript in preparation.
The code is made available under a Creative Commons Attribution 4.0 International License. You are free to reuse this code provided that you give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. Giving appropriate credit includes citation of the above publication and providing a link to this repository:
https://github.com/jenniesuz/tsetse_senescence
We suggest you open this project file file in R Studio. The files that form part of this project file are detailed below. We suggest that you view and run the files in the following order:
- r1_db_funcs.R
- r1_queries.R
- r2_motherDeaths.R
- r3_abortions.R
- r4_pupalWetWeight.R
- r5_offspringEmergence.R
- r6_offspringSurvival.R
These files plus the database are explained briefly below:
- tsetse2018.db - this sqlite database file contains the raw data
- r1_queries.R - queries tsetse2018.db and retrieves the required data to produce the figures
- r2_motherDeaths.R - analysis of mother deaths and Figure 2 of the manuscript
- r3_abortions.R - analysis of the probability of abortion and Figure 3 of the manuscript
- r4_pupalWetWeight.R - analysis of pupal wet weight and Figure 4 of the manuscript
- r5_offspringEmergence.R - analysis of the probability of offspring emergence and Figure 5a
- r6_offspringSurvival.R - analysis of the survival of offspring and Figure 5b
