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

plotFDR(data)

Arguments

data

data returned by computeFDR function

Value

creates a plot

Examples

#library(prozor)
data(fdrSample)
fdr1 <- computeFDRwithID(fdrSample$score, fdrSample$proteinID, larger_better = FALSE)
fdr2 <- computeFDRwithID(fdrSample$score2, fdrSample$proteinID, larger_better = TRUE)
plotFDR(fdr1)

plotFDR(fdr2)

data<-fdr1