Description Usage Arguments Value Author(s) Examples
View source: R/deepSNV-functions.R
This function combines two P-values into a single one using a statistic defined by method. "fisher" uses the product of the two, in this case the logarithm of the product is χ^2_4 distributed. If the method = "max", the resulting P-value is \max\{P_1,P_2\}^2. For method = "average" the mean is used, yielding a P-value of 2 x^2 if x=(P_1+P_2)/2 < .5 and 1-2 x^2 otherwise. "negfisher" is the negative of Fisher's method using $1-F(1-P_1, 1-P_2)$, where $F$ is the combination function of Fisher's method; for small $P_1,P_2$, the result is very similar to method="average". Fisher's method behaves a bit like a logical AND of the joint null-hypothesis, whereas negative Fisher is like an OR.
1 |
p1 |
P-value 1 |
p2 |
P-value 2 |
method |
One of "fisher" (default), "max" or "average" |
p-values
Moritz Gerstung
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.