Learn R Programming

LBE (version 1.40.0)

LBEwrite: 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.

See Also

LBE, LBEplot, LBEsummary, LBEa

Examples

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

Run the code above in your browser using DataLab