predictScoreFDR: Predict score given FDR

Description Usage Arguments Value Examples

View source: R/computeFDR.R

Description

For more details and references see package vignette vignette("TargetDecoyFDR_Example", package = "prozor")

Usage

1
predictScoreFDR(fdrObj, qValue = 1, method = "SimpleFDR")

Arguments

fdrObj

object generated by computeFDR

qValue

false discovery rate in percent, default 1 percent

method

either FPR or SimpleFDR, default is SimpleFDR

Value

score for a given FDR

Examples

1
2
3
4
5
6
data(fdrSample)
fdr1 <- computeFDRwithID(fdrSample$score, fdrSample$proteinID, larger_better = FALSE)

predictScoreFDR(fdr1,qValue=5)
fdr2<-computeFDRwithID(fdrSample$score2, fdrSample$proteinID, larger_better = TRUE)
predictScoreFDR(fdr2,qValue=5)

prozor documentation built on Dec. 11, 2021, 9:51 a.m.