Skip to content

StevisonLab/CxCoM-with-Viability

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Statistical analysis of meiotic events with viability effects

Classic recombination experiments designed to test genetic and environmental treatments do not directly measure crossing-over, instead rates and distribution of meiotic events in F1 oocytes is inferred from genetic markers in F2 adults. In Drosophila melanogaster this procedure introduces substantial "missing data problems" because 75% of meiotic chromatids segregate to polar body nuclei and another 11% are transmitted to inviable F2 zygotes which cannot be scored for recombination. To address these sources of uncertainty and bias we extend the Cx(Co)m model of the data-generating process by assuming: 1) double strand breaks occur as a Poisson point process, 2) crossover maturation is a stationary renewal process, 3) chromosome segregation is random one-half thinning of this process, 4) fertilization by X- versus Y-bearing sperm is mendelian, and 5) egg-to-adult survival is binomially distributed with a rate parameter determined by F2 marker alleles. To quantify experimental mortality, we performed egg counts in 6-point X chromosome testcrosses and marker-free controls on identical genetic backgrounds under standard laboratory conditions. Likelihood ratio tests using the 19,927 fly dataset reveals 44% F2 experimental mortality, and support a model where 36 of the 44% is due to sex-specific viability effects. Variability in X chromosome genetic lengths with experimental mortality can be simulated and we provide case-control 80% power curves to guide experimental design. We propose that differential mortality should be the de facto null hypothesis when comparing F2 recombinant fractions and provide a probabilistic model of the data-generating process to improve characterization of patterns in F1 meiotic events.

Code Directory

To perform all R analyses in "An extension of the Cx(Co)m model of crossover patterning to account for experimental mortality in Drosophila melanogaster" there are six raw data input files in "Raw Data" folder. Please set this as your working directory:

There are eight scripts to run the analyses in "Code" folder but you only need to run ONE.

Primary Script Files:

  1. 1_missing_data_driver_script.R == THIS IS THE PRIMARY DRIVER SCRIPT!!! Others will be sourced in the main script and do not need to be run separately. This script also sets the working directory and loads the package dfoptim().
  2. 2_missing_data_dataset_compilation_script.R
  3. 3_missing_data_single_locus_custom_function.R
  4. 4_missing_data_multi_locus_custom_function.R
  5. 5_missing_data_organismal_analysis.R
  6. 6_missing_data_single_locus_analysis.R
  7. 7_missing_data_multi_locus_analysis.R
  8. 8_missing_data_pooling_analysis.R

Raw Data Files:

  1. 1_EH_raw_multiply_marked_egg_count.csv
  2. 2_MS_raw_multiply_marked_egg_count.csv
  3. 3_SK_raw_multiply_marked_adult_phenotypic_class_counts.csv
  4. A_EH_raw_marker_free_egg_counts.csv
  5. B_MS_raw_marker_free_egg_counts.csv
  6. C_SK_raw_marker_free_adult_counts.csv

Output files:

The following output files will be written into the "Summaries and Outputs" folder:

  • 4_compiled_raw_multiply_marked_dataset.csv
  • 5_derived_multiply_marked_dataset.csv
  • 6_multiply_marked_viability_dataset.csv
  • 7_scute_single_locus_dataset.csv
  • 8_crossveinless_single_locus_dataset.csv
  • 9_vermilion_single_locus_dataset.csv
  • 10_forked_single_locus_dataset.csv
  • 11_carnation_single_locus_dataset.csv
  • 12_yellow_plus_single_locus_dataset.csv
  • 13_multi_locus_individual_vials_dataset.csv
  • 14_multi_locus_cross_pooled_dataset.csv
  • 15_multi_locus_brood_pooled_dataset.csv
  • 16_multi_locus_full_experiment_dataset.csv
  • 17_multi_locus_full_experiment_H0_mle_output.csv
  • 18_multi_locus_full_experiment_H1_mle_output.csv
  • 19_multi_locus_full_experiment_H2_mle_output.csv
  • 20_multi_locus_full_experiment_H3_mle_output.csv
  • 21_multi_locus_individual_vials_H3_mle_output.csv
  • 22_multi_locus_cross_pooled_H3_mle_output.csv
  • 23_multi_locus_brood_pooled_H3_mle_output.csv
  • D_compiled_raw_marker_free_dataset.csv
  • E_derived_marker_free_dataset.csv
  • F_marker_free_viability_dataset.csv
  • table_S1_marker_free_viability_regression.csv
  • table_S2_multiply_marked_viability_regression.csv
  • table_S3_scute_single_locus_G_tests.csv.csv
  • table_S4_crossveinless_single_locus_G_tests.csv
  • table_S5_vermilion_single_locus_G_tests.csv
  • table_S6_forked_single_locus_G_tests.csv
  • table_S7_carnation_single_locus_G_tests.csv
  • table_S8_yellow_plus_single_locus_G_tests.csv
  • table_S10_vials_pooled_anova.csv
  • table_S11_cross_pooled_anova.csv
  • table_S12_brood_pooled_anova.csv

About

Statistical analysis of meiotic events with viability effects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages