dI {pARI} | R Documentation |
Lower bound for the number of true discoveries
Description
Calculates (1-alpha) lower confidence bounds for the set-wise of false null hypotheses.
Usage
dI(ix, cv, pvalues, iterative, approx, ncomb, ...)
Arguments
ix |
numeric vector. It refers to the set-wise hypotheses considered. |
cv |
numeric vector. It refers to the critical vector computed by |
pvalues |
matrix of pvalues with dimensions |
iterative |
Boolean value. If |
approx |
Boolean value. Default @TRUE. If you are treating high dimensional data, we suggest to put |
ncomb |
Numeric value. If |
... |
further arguments for the iterative approach, i.e., |
Value
numeric value: the lower confidence bound for the number of true discoveries concerning the cluster ix
specified.
Author(s)
Angela Andreella
Examples
db <- simulateData(pi0 = 0.7, m = 100, n = 20, rho = 0)
out <- signTest(X = db)
pv <- cbind(out$pv, out$pv_H0)
cv <- criticalVector(pvalues = pv, family = "simes", lambda = 0.1, alpha = 0.1)
dI(ix = c(1:100), cv = cv, pvalues = pv)