View source: R/check_incongruous.R
find_2d | R Documentation |
Tells if row x if allTestStats is an incongruous result (has a higher lfdr than a set of test statistics with lower magnitudes). For K=2 case.
find_2d(x, allTestStats)
x |
Scalar, which row of allTestStats to check. |
allTestStats |
J*K vector of all test statistics. |
A scalar denoting the number of sets with lower lfdr and test statistics of lower magnitude. 0 means congruous result.
zMatrix <- cbind(rnorm(10^4), rnorm(10^4))
find_2d(x = 5, allTestStats = zMatrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.