Description Usage Arguments Details Value References See Also Examples
Combine two p values into one.
1 2 | combinePval(obj, pval.1 = "pval", pval.2 = "pval.database", method="stouffer",
w=c(1,1))
|
obj |
corObject with a net slot defined. It must have at least two columns with p values to combine. |
pval.1 |
column name (from the net slot) of the first p value. By default: the p value of the correlation. |
pval.2 |
column name (from the net slot) of the second p value. By default: the p value from MicroCosm database. |
method |
"stouffer" (default) or "fisher" |
w |
numeric vector of length two indicating the respective weights that will be applied to Stouffer combination. By default: no weighting. |
Stouffer and Weighted Stouffer (Lipták) combination is computed according to:
p_{comb} = 1- Φ ≤ft( \frac{1}{√{w_1^2+w_2^2}} ≤ft( w_1 ≤ft( Φ^{-1} ≤ft( 1- p_{1} \right) \right) + w_2 ≤ft( Φ^{-1} ≤ft( 1- p_{2} \right) \right) \right) \right)
where,
Φ(x) = \int_{-∞}^{x} \frac{1}{√{2π}}e^{\frac{z^2}{2}} \textrm{d}z
Fisher combination is computed according to:
t = -2 ≤ft( \ln p_{1} + \ln p_{2} \right) \sim χ_{4}^{2}
a corObject in which a column containing the combined p values has been added to the net slot.
For more information about the combination methods, see:
Zaykin D.V.. Optimally weighted Z-test is a powerful method for combining probabilities in meta analysis. Journal of Evolutionary Biology, 2011.
Gade G., Porzelius C., Fälth M., Brase J.C., Wuttig D., Kuner R., Binder H., Sültmann H., and Beissbarth T. Graph based fusion of miRNA and mRNA expression data improves clinical outcome prediction of prostate cancer. BMC Bioinformatics, 12(488), 2011.
combinePval
, p.adjust
, addNet
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.