BSLR | R Documentation |
Bayesian simple linear regression
BSLR(x, y, sig2 = 10, sig02 = 0.1)
x |
variable (SNP), n*1 vector. |
y |
trait, n*1 vector. |
sig2 |
hyperparameter, the variance of the trait y. |
sig02 |
hyperparameter, the variance of the coefficient. |
Bayes factor (log scale), the estimate of the coefficient, the posterior mean of the coefficient, the posterior variance of the coefficient.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.