The BGLR Package (Perez-Rodriguez & de los Campos, 2014) implements a variety of shrinkage and variable selection regression procedures. In this repository we maintain the latest version beta version. The latest stable release can be downloaded from CRAN.
From CRAN (stable release).
install.packages(pkg='BGLR',repos='https://cran.r-project.org/')
From GitHub (development version, added features).
install.packages(pkg='devtools',repos='https://cran.r-project.org/') #1# install devtools
library(devtools) #2# load the library
install_git('https://github.com/gdlc/BGLR-R') #3# install BGLR from GitHub
Note: when trying to install from github on a mac you may get the following error message
ld: library not found for -lgfortran
This can be fixed it by following the following advise.
-
6. Fitting Models with Multiple sets of Effects ("Mixed-Effects Model")
-
12. Estimating the Proportion of Variance Explained by Principal Components
-
Metabolomics (milk-spectra): Ferragina et al., J.D.Sci, 2015
-
Multi-omic (gene expression, methylation & CNV): Vazquez et al. (10th, WCGALP) & Vazquez et al. (Genetics, 2016)
-Wheat (SNPs and env. covariates): Jarquin et al. (TAG, 2014)
-Cotton (Pedigree and env. covariates): Perez-Rodriguez et al.(Crop. Sci, 2015)
-Maize (Image data): Aguate et al. (IBC, 2016)