This function takes a dataset of haplotypes and environmental covariates with one binary phenotype in which rows for individuals of uncertain phase have been augmented by "pseudo-individuals" who carry the possible multilocus genotypes consistent with the single-locus phenotypes. Bayesian lasso is used to find the posterior distributions of logistic regression coefficients, which are then used to calculate Bayes Factor and credible set to test for association with haplotypes, environmental covariates and interactions. The model can handle complex sampling data, in particular, frequency matched cases and controls with controls obtained using stratified sampling. This version can also be applied to a dataset with no environmental covariate and two correlated binary phenotypes.
Version: | 1.4 |
Depends: | R (≥ 2.10), hapassoc, dummies |
Published: | 2019-08-29 |
Author: | Xiaochen Yuan, Yuan Zhang, Shuang Xia, Swati Biswas, and Shili Lin |
Maintainer: | Xiaochen Yuan <xxy142030 at utdallas.edu> |
License: | GPL-3 |
NeedsCompilation: | yes |
CRAN checks: | LBLGXE results |
Reference manual: | LBLGXE.pdf |
Package source: | LBLGXE_1.4.tar.gz |
Windows binaries: | r-devel: LBLGXE_1.4.zip, r-devel-gcc8: LBLGXE_1.4.zip, r-release: LBLGXE_1.4.zip, r-oldrel: LBLGXE_1.4.zip |
OS X binaries: | r-release: LBLGXE_1.4.tgz, r-oldrel: LBLGXE_1.4.tgz |
Please use the canonical form https://CRAN.R-project.org/package=LBLGXE to link to this page.