Skip to content

dcgerard/menbayes

Repository files navigation

menbayes

DOI NSF-2132247 License: GPL v3 R-CMD-check

Provides a suite of tests for segregation distortion in F1 polyploid populations (for now, just tetraploids). This is under different assumptions of meiosis. The main functions are:

  • bayes_men_g4(): Bayesian test for segregation distortion using known genotypes.
  • bayes_men_gl4(): Bayesian test for segregation distortion using genotype likelihoods.
  • lrt_men_g4(): Likelihood ratio test for segregation distortion using known genotypes.
  • lrt_men_gl4(): Likelihood ratio test for segregation distortion using genotype likelihoods.
  • offspring_gf_2(): Offspring genotype frequencies under the two parameter model of meiosis.
  • offspring_gf_3(): Offspring genotype frequencies under the three parameter model of meiosis.
  • simf1g(): Simulate genotypes from an F1 population of tetraploids.
  • simf1gl(): Simulate genotype likelihoods from an F1 population of tetraploids.

Details of these methods may be found in Gerard et al. (2025).

Installation

You can install the development version of menbayes from GitHub with:

# install.packages("devtools")
devtools::install_github("dcgerard/menbayes")

Code of Conduct

Please note that the menbayes project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

References

Gerard D, Thakkar M, & Ferrão LFV (2025). “Tests for segregation distortion in tetraploid F1 populations.” Theoretical and Applied Genetics, 138(30), p. 1–13. doi:10.1007/s00122-025-04816-z.

Acknowledgments

This material is based upon work supported by the National Science Foundation under Grant No. 2132247.

About

Tests for Segregation Distortion in Tetraploids

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published