From e0abb73fd780d5b302d8cac6cb3cbc638cfbe2c7 Mon Sep 17 00:00:00 2001 From: depristo Date: Wed, 11 Aug 2010 14:48:22 +0000 Subject: [PATCH] plot now assumes 1 / 1000 is the min error rate, not 1/100 git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4010 348d0f76-0448-11de-a6fe-93d51630548a --- R/plot_Tranches.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/plot_Tranches.R b/R/plot_Tranches.R index 839c8973c..e83d10075 100755 --- a/R/plot_Tranches.R +++ b/R/plot_Tranches.R @@ -10,7 +10,7 @@ targetTITV = as.numeric(args[2]) # Useful general routines # ----------------------------------------------------------------------------------------------- -MIN_FP_RATE = 0.01 +MIN_FP_RATE = 0.001 # 1 / 1000 is min error rate titvFPEst <- function(titvExpected, titvObserved) { max(min(1 - (titvObserved - 0.5) / (titvExpected - 0.5), 1), MIN_FP_RATE)