View source: R/theoretical_gwas.R
sample_beta | R Documentation |
Sample beta values given standard errors
sample_beta(beta, se, r = NULL, af = NULL)
beta |
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. |
se |
array of se values |
r |
matrix of LD correlations amongst the SNPs. If NULL (default) then assumes no LD |
af |
array of allele frequencies. Must be non-null if r is non-null. |
array of beta hats
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.