Sample beta values given standard errors
sample_beta(beta, se, r = NULL, af = NULL)
array of beta values - i.e. the true coefficients. If using the correlation matrix r then this should be an LD-aware set of expected beta values.
array of se values
matrix of LD correlations amongst the SNPs. If NULL (default) then assumes no LD
array of allele frequencies. Must be non-null if r is non-null.
array of beta hats