simulate_beta
use the multivariate normal to simulate realistic betassimulate_beta.Rd
simulate betas for an ld block
simulate_beta
use the multivariate normal to simulate realistic betas
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