Make simple simulated summary data
makeSimDataForMrlocus(
nsnp = c(7:10),
idx = 5,
alpha = 0.5,
sigma = 0.05,
betas = 1:4,
se = 0.25,
n_mult = 1
)
number of SNPs per signal cluster
the causal SNP (same per cluster for simplicity)
the true slope of B coefficients over A coefficients
the SD of true B coefficients around the conditional values given true A coefficients
the true A coefficients
the standard errors for betas
how many more samples the B study has
a list of beta_hat_a
, beta_hat_b
,
se_a
, se_b
,
Sigma_a
, Sigma_b
(themselves lists), and alleles
(a list of data.frames each with
id
, ref
, eff
for the SNP id,
reference allele, and effect allele).