Usage
LBE(pval, a = NA, l = 0.05, ci.level = 0.95, qvalues = TRUE, plot.type = "main", FDR.level = 0.05, n.significant = NA)
Arguments
pval
Numerical vector of p-values (only necessary input).
a
Real value used in $[-ln (1-pi)]^a$ (see details).
If a == NA (default), then the value of a is automatically calculated as the greatest value such that the upper bound of the asymptotic standard deviation of the estimator of pi0 is smaller than the threshold l.
If $a >= 1$, the value of a is used in $[-ln (1-pi)]^a$ (see
details).
If $a < 1$, the identity function is used for transforming the
p-values.
l
Threshold for the upper bound of the asymptotic standard deviation
(only used if a == NA).
ci.level
Level for the confidence interval of pi0.
qvalues
Logical value for estimating the qvalues and the FDR. If
qvalues = FALSE, only the proportion pi0 of true null hypotheses is
estimated.
plot.type
If plot.type = "none", no graphic is displayed.
If plot.type = "main", the estimated q-values versus the p-values are
plotted together with the histogram of the p-values.
If plot.type = "multiple", several graphics are displayed: 1. The histogram
of the p-values 2. The estimated q-values versus the p-values 3. The number
of significant tests versus each qvalue cutoff 4. The number of expected
false positives versus the number of significant tests.
FDR.level
Level at which to control the FDR (only used if
n.significant == NA).
n.significant
If specified, the FDR is estimated for the rejection
region defined by the "n.significant" smallest p-values.