Skip to content

gerardlab/rmexact

Repository files navigation

rmexact

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

Exact tests for random mating in autopolyploids. The main functions are

  • tetexact(): Exact test using sufficient statistics for random mating in autotetraploids when the genotypes are known.
  • rmslrt(): Exact test using the split likelihood ratio approach of Wasserman et al. (2020) for random mating in autopolyploids when genotypes are known.
  • rmchisq(): Chi-squared test for random mating in autopolyploids when genotypes are known.

Installation

You can install the development version of {rmexact} using the {remotes} package:

# install.packages("remotes")
remotes::install_github("dcgerard/rmexact")

Code of Conduct

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

Acknowledgements

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

References

Wasserman, L., Ramdas, A., & Balakrishnan, S. (2020). Universal inference. Proceedings of the National Academy of Sciences, 117(29), 16880-16890. doi:10.1073/pnas.1922664117