Installation

# stable version from CRAN
install.packages("ggmix")

# development version from GitHub
if (!requireNamespace("pacman")) install.packages("pacman")
pacman::p_load_gh('sahirbhatnagar/ggmix')


Methodological Details

The companion paper is available at https://journals.plos.org/plosgenetics/article?id=10.1371/journal.pgen.1008766


Documentation

Please visit https://sahirbhatnagar.com/ggmix/ for details on how to use this package.


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


References

If you use ggmix in your work, I would highly appreciate if you cite the paper and the package:

  1. Bhatnagar SR, Yang Y, Lu T, Schurr E, Loredo-Osti JC, Forest M, Oualkacha K, Greenwood CMT (2020). Simultaneous SNP selection and adjustment for population structure in high dimensional prediction models. PLoS Genet 16(5): e1008766. https://doi.org/10.1371/journal.pgen.1008766.

  2. Bhatnagar SR, Yang Y, Greenwood CMT (2020). ggmix: Variable Selection in Linear Mixed Models for SNP Data. R package version 0.0.1. https://github.com/sahirbhatnagar/ggmix.