Skip to content

Commit

Permalink
fixed ridgeplot() when selecting a specific gene set and plotting n…
Browse files Browse the repository at this point in the history
…on-core genes, #298
  • Loading branch information
GuangchuangYu committed Nov 6, 2024
1 parent e008020 commit 594d61d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ridgeplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ ridgeplot.gseaResult <- function(x, showCategory=30, fill="p.adjust",
if (core_enrichment) {
gs2id <- geneInCategory(x)[selected]
} else {
gs2id <- x@geneSets[x$ID[selected]]
gs2id <- x@geneSets[x$ID %in% selected]
}

if (x@readable && length(x@gene2Symbol) > 0) {
Expand Down

0 comments on commit 594d61d

Please sign in to comment.