hitplots {mhtboot}R Documentation

Plot area under p value cdf below a cutoff.

Description

Function to plot the area under the cdf below a certain cutoff.

Usage

hitplots(porder, alpha = 0.005)

Arguments

porder

the feed from porder.1sample or porder.2sample. matrix of size Bxm. of ordered transformed p values.

alpha

the cutoff of ecd, by default 0.005.

Details

The alpha parameter specifies the cutoff, the plot is the ecdf under alpha. So the right tail of the ecdf would have probability alpha.

Examples

## Not run: 
n = 50;m = 250;m0 = 20;
sigeff = 1;
Sigma <- 0.25*diag(m)
X <- datgen(n,m,m0,sigeff,Sigma = Sigma)
porder <- pboot.1sample(X, B = 100, ncpus = 1)
hitplots(porder)

## End(Not run)

[Package mhtboot version 1.3.3 Index]