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 May 31, 2017, 3:38 p.m.

Search within the BioNet package
Search all R packages, documentation and source code