scoreOffset: Change score offset for 2 FDRs

Description Usage Arguments Value Author(s) See Also Examples

View source: R/Statistics.R

Description

Function to change score offset from FDR1 to FDR2.

Usage

1
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.

Author(s)

Marcus Dittrich

See Also

bumOptim, fitBumModel

Examples

1
2
3
4
data(pvaluesExample)
pvals <- pvaluesExample[,1]
bum <- bumOptim(pvals, starts=10)
scoreOffset(bum, fdr1=0.001, fdr2=0.000001)

assaron/BioNet documentation built on Sept. 18, 2020, 12:02 a.m.