View source: R/rareGWAMA.single.R
convert chisq statistic to beta for binary trait assuming the variance for y;
1 | convertChisq2Beta(statistic, beta.ori, var.y, af, N, binaryTrait = FALSE)
|
statistic |
chisq stat; |
beta.ori |
original beta; for getting the sign; |
var.y |
the variance for Y. for binary trait, the variance of y is frac.case*(1-frac.case); for continuous trait, the variance for y is typically set to 1; |
af |
allele freq; |
N |
sample size; |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.