diff --git a/R/utils.R b/R/utils.R index c3d73e4..10e8e4e 100644 --- a/R/utils.R +++ b/R/utils.R @@ -356,7 +356,7 @@ setMethod(".annotateAssoc", .pchisq_filter_extreme <- function(...) { args <- list(...) pval = pchisq(...) - if ("df" %in% names(args) && args$df > 0) { + if (args$df > 0) { pval[pval < .Machine$double.xmin] = .Machine$double.xmin } return(pval)