Learn R Programming

pi0 (version 1.3-250)

plot.subt: 3D Scatter Plot of Subsample Sizes and P-value Density at One.

Description

This function generates a 3d scatter plot for objects of class subt, typically resulting from calling the function subt.

Usage

## S3 method for class 'subt':
plot(x,y,rgl=TRUE,...)

Arguments

x
the subt object.
y
the same as rgl. If not missing, it overrides rgl.
rgl
logical, specifying whether or not the plot3d in the rgl package is used. If FALSE, scatterplot3d will be use
...
other arguments to be passed to either plot3d, or scatterplot3d.

Value

  • an invisible(NULL). Used for side effects only.

References

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.

See Also

rgl,subt

Examples

Run this code
set.seed(9992722)
## this is how the 'simulatedDat' data set in this package generated
simulatedDat=sim.dat(G=5000)
## this is how the 'simulatedSubt' object in this package generated
simulatedSubt=subt(simulatedDat,balanced=FALSE,max.reps=Inf)
plot(simulatedSubt)
plot(simulatedSubt,FALSE)

Run the code above in your browser using DataLab