Description Usage Arguments Details Value Author(s) Examples
Compute test statistic X4, conditional false discovery rate of Z_d given Z_a
1 |
Z |
n x 2 matrix of Z scores; Z[,1]=Z_d, Z[,2]=Z_a |
sub |
option to only calculate cFDR at a subset of Z scores; cFDR is computationally intensive to calculate. |
This test statistic is against a different null hypothesis than X1-X3; namely that the SNP of interest does not differentiate subgroups (ie, no requirement for high |Z_a|).
This test statistic does account for Z_a, however, by implicitly adapting for correlation between Z_a and Z_d, effectively reducing the threshold for Z_d association for SNPs with high Z_a score, if there is evidence that both tend to be high concurrently.
Note that the procedure of declaring non-null all SNPs with cFDR < alpha does not limit the false discovery rate of such SNPs to alpha(ie, the procedure is not analagous to the Benjamini-Hochberg FDR controlling procedure). A bound on the overall FDR can be obtained using the c2a function (below.)
vector of values of X4
James Liley
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.