View source: R/summary.p.fdr.R
summary.p.fdr | R Documentation |
This function summarizes a p.fdr object.
## S3 method for class 'p.fdr' summary(object, digits = 5, ...)
object |
A list of output from the p.fdr function. |
digits |
A numeric value for the number of desired digits in the summary output. Defaults to 3. |
... |
Additional arguments affecting the summary produced. |
We run into errors or warnings when
A list containing the following components:
Range |
The range on the false discovery rates. |
Significant Findings |
The number of significant findings. Found using the adjusted p-values and the given threshold. This is also the number of times we decide to reject the null hypothesis that the data is generated from a standard normal distribution. |
Inconclusive Findings |
The number of inconclusive findings. Found using the adjusted p-values and the given threshold. This is also the number of times we fail to reject the null hypothesis that the data is generated from a standard normal distribution. |
Assumed/Estimated pi0 |
the assumed or estimated pi0 value depending on how the p.fdr function was run. |
Number of Tests |
The total number of multiple comparison tests completed. |
Adjustment Method |
The adjustment method used in the p.fdr function. |
Rpack:bibtexRdpack
\insertRefRFDRestimation
\insertRefmurray2020falseFDRestimation
plot.p.fdr, p.fdr, get.pi0
# Example 1 pi0 = 0.8 pi1 = 1-pi0 n = 10 n.0 = ceiling(n*pi0) n.1 = n-n.0 sim.data = c(rnorm(n.1,5,1),rnorm(n.0,0,1)) sim.data.p = 2*pnorm(-abs(sim.data)) fdr.output = p.fdr(pvalues=sim.data.p, adjust.method="BH") summary(fdr.output)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.