Description Usage Arguments Value
simulate betas for an ld block
simulate_beta
use the multivariate normal to simulate realistic betas
1 | simulate_beta(sm, lor, se_lor, lor_shrink = 1, n_sims)
|
sm |
a snpMatrix object |
lor |
a vector - observed betas |
se_lor |
a vector - standard error of betas |
lor_shrink |
a vector - shrinkage values to use to adjust betas (default 1 no shrinkage) |
n_sims |
a scalar - number of simulations to conduct |
a matrix of simulated betas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.