Last updated: 2019-03-12

Checks: 1 1

Knit directory: fitnessCostSD/

This reproducible R Markdown analysis was created with workflowr (version 1.2.0). The Report tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


The R Markdown file has unstaged changes. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish to commit the R Markdown file and build the HTML.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility. The version displayed above was the version of the Git repository at the time these results were generated.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .DS_Store
    Ignored:    .Rproj.user/
    Ignored:    data/.DS_Store
    Ignored:    data/SD_k tests_2018_04_05.xlsx
    Ignored:    data/clean_data/.DS_Store
    Ignored:    data/data collection sheet - follow up looking at sex ratio.xlsx
    Ignored:    data/data collection sheet from Heidi.xlsx
    Ignored:    data/model_output/
    Ignored:    docs/.DS_Store
    Ignored:    docs/figure/SD_costs_analysis.Rmd/
    Ignored:    docs/figure/evolutionary_simulation_SD.Rmd/
    Ignored:    manuscript/.DS_Store

Untracked files:
    Untracked:  analysis/raw_data.Rmd
    Untracked:  figures/Edited_fig3.pdf

Unstaged changes:
    Modified:   analysis/index.Rmd
    Modified:   analysis/simulation.Rmd
    Modified:   analysis/statistics.Rmd
    Modified:   code/pdf_supplementary_material.pdf
    Modified:   data/clean_data/larval_fitness.csv
    Modified:   figures/fig1.pdf
    Modified:   figures/fig2.pdf
    Modified:   figures/fig3.pdf
    Modified:   manuscript/SD_manuscript.Rmd
    Modified:   manuscript/SD_manuscript.pdf

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the R Markdown and HTML files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view them.

File Version Author Date Message
html e19534f lukeholman 2019-03-12 Build site.
Rmd 22af63a lukeholman 2019-03-12 Tweak
html e67c963 lukeholman 2019-03-12 Build site.
Rmd cceac7a lukeholman 2019-03-12 Tweak
html ba43211 lukeholman 2019-03-12 Build site.
html 6b03f9c lukeholman 2019-03-12 Build site.
html 5fe740a lukeholman 2019-03-12 Build site.
html 6ca9df1 lukeholman 2019-03-12 Build site.
html 24dc8da lukeholman 2019-03-12 Build site.
html 85f231d lukeholman 2019-03-12 Build site.
html fd47171 lukeholman 2019-03-12 Build site.
html 18dc5af lukeholman 2019-03-12 Build site.
Rmd 8b0f3ef lukeholman 2019-03-12 Tweaks
html c419da4 lukeholman 2019-03-12 Build site.
Rmd 61c993c lukeholman 2019-03-12 Tweaks
html c9182c5 lukeholman 2019-03-12 Build site.
Rmd cf10de1 lukeholman 2019-03-12 First commit as workflowr
html c69f5c1 lukeholman 2019-03-12 Build site.
Rmd 228860a lukeholman 2019-03-12 First commit as workflowr
Rmd 143308a lukeholman 2019-03-12 Start workflowr project.

This website presents all the code used for the forthcoming paper Fitness consequences of the selfish supergene Segregation Distorter by Heidi Wong and Luke Holman.

Tables of the raw data

Click here to see tables of the raw data, and a description of what each variable means.

Part 1: Data analysis

Click here to see the R script used to analyse our empirical data and produce all statistical results, figures, and tables.

Part 2: Population genetic model

Click here to see the R script used to run and plot the population genetic model.