Last updated: 2021-09-01

Checks: 2 0

Knit directory: SD_sexual_selection/

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

Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version 27a6b65. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

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:    .Rapp.history
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/
    Ignored:    analysis/.DS_Store
    Ignored:    analysis/.Rapp.history
    Ignored:    simulation_results/.DS_Store

Untracked files:
    Untracked:  Keaney_et_al_Tables_Figures_data_Rcode_ESM.pdf
    Untracked:  Supplementary_material_files/
    Untracked:  simulation_results/output_defaults.rds

Unstaged changes:
    Modified:   Figure_1.pdf
    Modified:   Figure_2.pdf
    Modified:   Supplementary_material.Rmd
    Modified:   Supplementary_material.pdf
    Modified:   analysis/_site.yml
    Modified:   data/SD_mating_data.csv

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 repository in which changes were made to the R Markdown (analysis/index.Rmd) and HTML (docs/index.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
Rmd 27a6b65 tkeaney 2021-09-01 final touches for revision
Rmd 2fc8723 tkeaney 2021-06-02 final touches
html 2fc8723 tkeaney 2021-06-02 final touches
html bfbb766 tomkeaney 2021-06-02 Build site.
Rmd 0289923 tomkeaney 2021-06-02 Edits to make the manuscript smaller
html e28d4c6 tkeaney 2021-05-25 Build site.
html ddaa2d1 tkeaney 2021-05-24 Build site.
Rmd 3565002 tkeaney 2021-05-24 Publish the initial files for myproject
Rmd 507ff72 tkeaney 2021-05-24 Start workflowr project.


This website presents the R code required to run the analysis for a pilot experiment, Experiments 1 and 2 (see Empirical analysis), and the code used to build and run the population genetic model included in the manuscript: Sexual selection can partly explain low frequencies of Segregation Distorter alleles.


Supplementary methods


Empirical analysis


Population genetic model