simulate_study
use the multivariate normal to simulate realistic betas for a studysimulate_study.Rd
simulate betas for a study
simulate_study
use the multivariate normal to simulate realistic betas for a study
simulate_study(DT, ref_gt_dir, shrink_beta = TRUE, n_sims = 10, quiet = TRUE)
DT | a data.table - as returned by |
---|---|
ref_gt_dir | scalar - path to a dir of R objects named CHR_1kg.RData containing reference GT in snpMatrix format |
shrink_beta | scalar - Whether to use Bayesian shrinkage of betas (default = TRUE) |
n_sims | a scalar - number of simulations (default 10) |
quiet | a scalar - boolean whether to show progress messages |
a DT of n_sims simulated studies for projection