Learn R Programming

sgof (version 2.0.2)

plot.BBSGoF: Plot of a BBSGoF object.

Description

Plot of a BBSGoF object

Usage

## S3 method for class 'BBSGoF':
plot(x, \dots)

Arguments

x
A BBSGoF object.
...
Other parameters to be passed through to plotting functions.

encoding

UTF-8

References

de Uña Álvarez J (2012). The Beta-Binomial SGoF method for multiple dependent tests. Statistical Applications in Genetics and Molecular Biology, Vol. 11, Iss. 3, Article 14.

See Also

BBSGoF,summary.BBSGoF

Examples

Run this code
p<-runif(387)^2  #387 independent p-values, non-uniform intersection null violated

res<-BBSGoF(p)
	
par(mfrow=c(2,2))
plot(res)   #Tarone test, within-block correlation, beta density (for automatic k),
	        #and decision plot (number of rejected nulls)

Run the code above in your browser using DataLab