Skip to content

Commit

Permalink
Add validity check
Browse files Browse the repository at this point in the history
  • Loading branch information
drjingma committed Jan 5, 2022
1 parent 32a2a88 commit 542dfca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/BMN.onesample.wrapper.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ BMN.onesample.wrapper <-
lower.tail = F)

## Multiple testing
W = sqrt(W)
diffNetwork <- NULL
if (multiTest){
W = sqrt(W)
tau <- find.tau(W, alpha.multi)
diffNetwork <- W*(W>tau) #may not be symmetric sometimes
}
Expand Down

0 comments on commit 542dfca

Please sign in to comment.