Learn R Programming

LBE (version 1.40.0)

LBEplot: Graphical display of LBE objects.

Description

Graphical display of LBE objects.

Usage

LBEplot(LBEobj, rng = c(0, 0.1), plot.type = c("multiple", "main"), legend = TRUE)

Arguments

LBEobj
LBE object.
rng
Range of q-values to consider.
plot.type
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" (default value), several graphics are displayed.

legend
Logical value for displaying the legend on the plot (when plot.type == "main").

Details

If plot.type == "multiple", the following 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.

See Also

LBE, LBEsummary, LBEwrite, LBEa

Examples

Run this code
## start
data(hedenfalk.pval)
res=LBE(hedenfalk.pval,plot.type="none")
LBEplot(res)
LBEplot(res,plot.type="main")
LBEplot(res,plot.type="main",legend=FALSE)
## end

Run the code above in your browser using DataLab