Skip to content

Commit

Permalink
fix: use pgx geneset genes
Browse files Browse the repository at this point in the history
  • Loading branch information
ESCRI11 committed May 9, 2024
1 parent 41c0209 commit fb8a420
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/board.enrichment/R/enrichment_plot_volcano.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ enrichment_plot_volcano_server <- function(id,
gs_fdr,
gs_lfc,
subplot.MAR,
geneDetails,
watermark = FALSE) {
moduleServer(id, function(input, output, session) {
volcano.RENDER <- shiny::reactive({
Expand Down Expand Up @@ -63,9 +64,7 @@ enrichment_plot_volcano_server <- function(id,
text(0.5, 0.5, "Please select a geneset", col = "grey50")
return()
}
gs <- gs[1]

gset <- playdata::getGSETS(gs)[[1]]
gset <- geneDetails()$feature
jj <- match(toupper(gset), toupper(limma$gene_name))
sel.genes <- setdiff(limma$gene_name[jj], c(NA, "", " "))

Expand Down
1 change: 1 addition & 0 deletions components/board.enrichment/R/enrichment_server.R
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ EnrichmentBoard <- function(id, pgx, selected_gxmethods = reactive(colnames(pgx$
gs_fdr = shiny::reactive(input$gs_fdr),
gs_lfc = shiny::reactive(input$gs_lfc),
subplot.MAR = subplot.MAR,
geneDetails = geneDetails,
watermark = WATERMARK
)

Expand Down

0 comments on commit fb8a420

Please sign in to comment.