LBEwrite {LBE}R Documentation

Write the results of an LBE object to a file.

Description

Write the results of an LBE object to a file.

Usage

LBEwrite(LBEobj, filename = "LBE-results.txt")

Arguments

LBEobj LBE object
filename Output filename (optional)

Details

The output file lists the estimate of pi0, which is the proportion of true null hypotheses. It also lists each p-value and corresponding q-value, one per line. If an FDR significance level was specified in the call to qvalue, the significance level is printed below the estimate of pi0, and an indicator of significance is included as a third column for each p-value and q-value.

Note

The function LBEwrite is analogous to the function qwrite from the package {qvalue}.

Author(s)

Cyril Dalmasso

See Also

LBE, LBEplot, LBEsummary, LBEa

Examples

## start
data(hedenfalk.pval)
res<-LBE(hedenfalk.pval)
LBEwrite(res,filename="myresults.txt")
## end

[Package LBE version 1.10.0 Index]