print.summary.p.fdr: Print the summary of p.fdr.object

View source: R/print.summary.p.fdr.R

print.summary.p.fdrR Documentation

Print the summary of p.fdr.object

Description

This function prints the summary a p.fdr.object.

Usage

## S3 method for class 'summary.p.fdr'
print(x, digits = 3, ...)

Arguments

x

A list of output from the summary.p.fdr function.

digits

A numeric value for the number of desired digits in the summary output. Defaults to 3.

...

Further arguments passed to or from other methods.

Details

We run into errors or warnings when

References

\insertRef

Rpack:bibtexRdpack

\insertRef

RFDRestimation

\insertRef

murray2020falseFDRestimation

See Also

plot.p.fdr, p.fdr, get.pi0

Examples


# 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)



FDRestimation documentation built on April 1, 2022, 5:07 p.m.