Dataframe of scores over a given range of FDRs

Description

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

Usage

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

Author(s)

Marcus Dittrich

See Also

bumOptim, fitBumModel

Examples

1
2
3
4
5
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,]

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.