Description Usage Arguments Details Value Note Author(s) References See Also Examples
This function plots the p-value, q-values, and the regression surface for an object of class subex
,
typically from calling the function subex
.
1 2 |
x |
the |
y |
the same as |
rgl |
logical, specifying whether or not the rgl package is used for making better 3D interactive graphs. |
... |
other arguments to be passed to |
Two plots will be generated. The first one is a histogram of p-values in the blue color.
A horizontal blue line is added indicating the height of pi0, i.e., the proportion
of true null hypotheses. This histogram is overlaid with a red line of FDRs, indicating the corresponding
q-value for each p-value. The right most end, i.e., the q-value corresponding to a p-value of 1,
is the also of height pi0.
The other plot is the same as the plot.extrpi0
.
an invisible(NULL)
, used for side effects only.
Because this function will call plot.extrpi0
, a warning will be generated when rgl
package is not available.
Long Qu
Qu, L., Nettleton, D., Dekkers, J.C.M. Subsampling Based Bias Reduction in Estimating the Proportion of Differentially Expressed Genes from Microarray Data. Unpublished manuscript.
plot.extrpi0
, rgl ,subex
1 2 3 4 5 6 7 8 9 10 | ## Not run:
set.seed(9992722)
## this is how the 'simulatedDat' data set in this package generated
simulatedDat=sim.dat(G=5000)
## this is how the 'simulatedSubex' object in this package generated
simulatedSubex=subex(simulatedDat,balanced=FALSE,max.reps=Inf,plotit=FALSE)
plot(simulatedSubex)
plot(simulatedSubex,FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.