Skip to content

Commit 85f7063

Browse files
committed
rob modified unifTest.R
1 parent 9c7ee2b commit 85f7063

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/unifTest.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,9 @@ lines(qqlist,fdr.by,type="b",col=3)
106106
abline(0,1,lty=2)
107107
title(paste("n=",as.character(n)," p=",as.character(p)," ",as.character(type)))
108108
legend("bottomright",c("BH","BY"),col=c(1,3),lty=1)
109+
110+
111+
pv=pvals[ii,]
112+
pvv=sort(pv)
113+
oo=which(pvv<=.2*(1:length(pvv))/length(pvv))
114+
oo=oo[length(oo)]

0 commit comments

Comments
 (0)