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

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/plot.subt.R

Description

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

Usage

1
2
## 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 used.

...

other arguments to be passed to either plot3d, or scatterplot3d.

Value

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

Note

When rgl is not available, a warnging is always generated.

Author(s)

Long Qu

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

 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 'simulatedSubt' object in this package generated
simulatedSubt=subt(simulatedDat,balanced=FALSE,max.reps=Inf)
plot(simulatedSubt)
plot(simulatedSubt,FALSE)

## End(Not run)

pi0 documentation built on May 2, 2019, 4:47 p.m.