scanFDR: Dataframe of scores over a given range of FDRs

Description Usage Arguments Value Author(s) See Also Examples

View source: R/HeinzUtils.R

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,]

BioNet documentation built on Nov. 8, 2020, 5:48 p.m.