Description Usage Arguments Details Value Examples
Compute Beta value from Bayesian linear regression
1 |
y |
phenotype vector/variable of interest, has to be numeric. |
x |
numerical, variable to regress on. |
confounder |
the confounding matrix with the same sample order as Y. The intercept should not be included, if missing will generate a intercept matrix. |
sigma_b |
the parameter of the NIG prior used for the Beta computation, set as NA by default. If not provided, performs a frequentist modeling |
all |
logical, if set as TRUE return all the Beta value (including the ones form the confounding factors). If set as FALSE only return the estimate for x, set as FALSE if missing. |
The Wavelet_screening function computes the Likelihood ratio used for testing significance of a genetic region. In addition it computes the porportion of wavelets coefficients associated by level of resolution, and the Bayes factor used for this estimation. All the details of the computation can be found in our paper "Wavelet screening: a novel look to GWAS data"
A named vector. First position the estimated value of the Lambda statistics, then the proportion of association per level of resolution then the computed Bayes Factor per wavelet coefficient.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.