Skip to content

Commit

Permalink
Fixed bugs in EnrichmentPlot
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghao-njmu committed Sep 13, 2023
1 parent 3838101 commit 1f0f44a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/SCP-plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -12713,6 +12713,7 @@ EnrichmentPlot <- function(srt, db = "GO_BP", group_by = NULL, test.use = "wilco
res <- res[res[["Groups"]] %in% group_use, , drop = FALSE]
}
if (length(id_use) > 0) {
metric <- ifelse(is.null(padjustCutoff), "pvalue", "p.adjust")
pvalueCutoff <- Inf
padjustCutoff <- Inf
compare_only_sig <- FALSE
Expand Down

0 comments on commit 1f0f44a

Please sign in to comment.