fdrThreshold {BioNet} | R Documentation

## Calculate p-value threshold for given FDR

### Description

The function calculates the p-value threshold tau for a given false discovery rate. Tau is used for the scoring function.

### Usage

    fdrThreshold(fdr, fb)

### Arguments

`fdr` | False discovery rate.
`fb` | Model from the beta-uniform mixture fitting.

### Value

P-value threshold tau.

### Author(s)

Marcus Dittrich

### References

S. Pounds, S.W. Morris (2003) Estimating the occurrence of false positives and false negatives in microarray studies by approximating and partitioning the empirical distribution of p-values. Bioinformatics, 19(10): 1236-1242.

### See Also

`fbum`, `fitBumModel`

### Examples

    data(pvaluesExample)
    pvals <- pvaluesExample[,1]
    bum.mle <- fitBumModel(pvals, plot=FALSE)
    tau <- fdrThreshold(fdr=0.001, fb=bum.mle)
    tau

[Package BioNet version 1.44.0 Index]