predictScoreFDR: Predict score given FDR

View source: R/computeFDR.R

predictScoreFDRR Documentation

Predict score given FDR

Description

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

Usage

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

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)


protViz/prozor documentation built on Nov. 13, 2024, 12:30 a.m.