Learn R Programming

BioNet (version 1.32.0)

scoreOffset: Change score offset for 2 FDRs

Description

Function to change score offset from FDR1 to FDR2.

Usage

scoreOffset(fb, fdr1, fdr2)

Arguments

fb
Model from the beta-uniform mixture fitting.
fdr1
First false discovery rate.
fdr2
Second false discovery rate.

Value

Offset for the score of the second FDR.

See Also

bumOptim, fitBumModel

Examples

Run this code
data(pvaluesExample)
pvals <- pvaluesExample[,1]
bum <- bumOptim(pvals, starts=10)
scoreOffset(bum, fdr1=0.001, fdr2=0.000001)

Run the code above in your browser using DataLab