setFDRfunc {gQTLstats} | R Documentation

## estimate and store function relating association scores to approximate plug-in FDR

### Description

estimate and store function relating association scores to approximate plug-in FDR

### Usage

    setFDRfunc(FDRsupp, fudge = 1e-06, zthresh = 30, maxch = 30, ...)

### Arguments

`FDRsupp` | instance of `FDRsupp-class`
`fudge` | if FDR is zero, a log or logistic transform will fail; we add the small positive number `fudge` to avoid this
`zthresh` | for association scores greater than this value, a hard value of FDR 0 is assigned
`maxch` | the model for the functional relationship between association and FDR is subset to observations for which association chisq score is no greater than 1.1*maxch
`...` | arguments passed to `s` for the smooth model relating association score to FDR at selected quantiles of the association score distribution

### Value

returns an updated `FDRsupp-class` instance

### Examples

    data(filtFDR)
    filtFDR2 = setFDRfunc(filtFDR)

[Package gQTLstats version 1.16.0 Index]