Skip to content

Commit

Permalink
Update SEACR_1.2.R
Browse files Browse the repository at this point in the history
Added a d0 term to percentile threshold part of loop so that write.table on line 144 does not fail due to an unspecified d0
  • Loading branch information
mpmeers authored Nov 5, 2019
1 parent d30a4c6 commit 169c97f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SEACR_1.2.R
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ if(is.na(numtest)){ ## If 2nd field is a bedgraph, calculate empirical threshold
ctrl<-as.vector(as.numeric(paste(0,argsL$ctrl,sep="")))
x0<-min(frame$values[frame$percentile <= ctrl[1]])
z0<-min(frame2$values[frame2$percentile <= ctrl[1]])
d0<-0
fdr<-ctrl[1] ## New for SEACR_1.1
}
invis <- gc(verbose=FALSE)
Expand Down

0 comments on commit 169c97f

Please sign in to comment.