View source: R/MODULE_5_TER_ALT.R
comb_cor_p | R Documentation |
Function to combine correlated p-values
comb_cor_p(p, w, cm)
p |
Array (nxm matrix) of p-values. n: number of features e.g. genes or transcripts, m: number of tests being combined. |
w |
Array (nxm matrix) of weights. n: number of features e.g. genes or transcripts, m: number of tests being combined. |
cm |
Correlation matrix of z-values or any other test statistics of individual tests that are being combined (mxm). m: number of samples. |
This is based on the the thoery expounded in a 2003 paper by Kepher Makambi.
A matrix with three columns: [1] M (combined test statistic) [2] nu (degree of freedom of chi-sq distribution) [3] p.com (the combined or meta-analytical p-value)
Makambi, K. 2003. Weighted inverse chi-square method for correlated significance tests. Journal of Applied Statistics, 30(2): 225-234.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.