plot {SSPA}R Documentation

Empirical cumulative distribution function of p-values of the pilot data

Description

The function plot plots an empirical cumulative distribution function of p-values of the pilot data. The test statistics that are given as input to PilotData-class are transformed to two-sided p-values either using the normal or Student t distribution.

Usage

plot(x, y, ...)

Arguments

x object of class PilotData-class
y unused item
... additional arguments given to plot or par

Details

Empirical cumulative distribution function of p-values. The line at angle of 45 degrees represents the theoretical CDF of a uniform distribution as expected when all genes are non-differentially expressed. An accumulation of p-values near zero indicates a certain number of differentially expressed genes.

Author(s)

Maarten van Iterson

Examples

library(multtest)
data(golub)
teststat <- mt.teststat(golub, golub.cl)
table(golub.cl)
pd <- pilotData(name="golub", testStatistics=teststat, sampleSizeA=11, sampleSizeB=27)
hist(pd)
plot(pd)

[Package SSPA version 1.0.0 Index]