Skip to content

Commit

Permalink
Merge branch 'simper-NA'
Browse files Browse the repository at this point in the history
  • Loading branch information
jarioksa committed Jan 26, 2024
2 parents 003391b + 73cb094 commit 65dce8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/simper.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
Pval <- Pval + ((colMeans(spcontr[take,,drop = FALSE]) - EPS) >= average)
}
Pval <- Pval/(nperm+1)
if (anyNA(ratio))
Pval[is.na(ratio)] <- NA
} else {
Pval <- NULL
}
Expand Down

0 comments on commit 65dce8d

Please sign in to comment.