cFDR.tune: cFDR.tune

Description Usage Arguments Value Author(s)

Description

Estimate overal FDR for the cFDR procedure at a given alpha

Usage

1
2
cFDR.tune(alpha.current = alpha.target, data, alpha.target = 0.05,
  method = c("liley.area", "constant.density", "liley.number", "unadjusted"))

Arguments

alpha.current

alpha to assess

alpha.target

optional (default 0). If set, will return the absolute difference between the estimated FDR and alpha. Used if you want to optimise alpha to a pre-specified overall FDR control

method

method for estimating overall FDR in a set of overlapping rectangles given known FDR control in each. default is liley.area, which is the published method - the others are purely experimental and shouldn't be used.

p

p values corresponding to test statistics

pc

p values corresponding to conditional test statistics

pp

local FDR calculated by FDR function for p

Value

absolute difference between estimated overall FDR control and alpha.target

Author(s)

Chris Wallace


chr1swallace/cFDR documentation built on May 13, 2019, 6:18 p.m.