Learn R Programming

BioNet (version 1.32.0)

scanFDR: Dataframe of scores over a given range of FDRs

Description

The function generates a dataframe for a given range of FDRs.

Usage

scanFDR(fb, fdr, labels=names(fb$pvalues))

Arguments

fb
Fitted bum model.
fdr
Vector of FDRs.
labels
Data frame labels.

Value

Dataframe of scores for given p-values and a range of FDRs.

See Also

bumOptim, fitBumModel

Examples

Run this code
data(pvaluesExample)
pvals <- pvaluesExample[,1]
bum <- bumOptim(pvals, starts=10)
scores <- scanFDR(fb=bum, fdr=c(0.1, 0.001, 0.0001))
scores[1:10,]

Run the code above in your browser using DataLab