Description Usage Arguments Value References
Assume a linear model for continous traits, Y=α+Gβ+ε. Input population genotype covariance matrix (VLD), variant weights (Wv), variant effect sizes (Ves, i.e., β), and sample size (n). This function computes the asymptotic mixture of 1-DF chi-square distributions, ∑_iλ_iχ_1^2(δ_i).
1 | RVS.params(n = 2000, VLD, Ves, MAF, Wv = NULL, W.beta = c(1, 25))
|
n |
sample size of a planned study |
VLD |
population genotype covariance matrix for the variant set |
Ves |
variant effect sizes |
MAF |
minor allele freqs of variant set |
Wv |
variant weights |
W.beta |
beta dist parameters to compute variant weights based on MAF when Wv is not specified. |
mixing cofficients of 1-DF chi-square mixtures
non-centrality parameters of 1-DF chi-square mixtures
Wu,B. and Pankow,J.S. (2016) On sample size and power calculation for variant set-based association tests. /AHG/, 80(2), 136-143.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.