mirror of
https://github.com/johrpan/geposanui.git
synced 2025-10-26 11:17:24 +01:00
Disable gost by default
This commit is contained in:
parent
f002758fc8
commit
686af3f44b
2 changed files with 18 additions and 6 deletions
4
server.R
4
server.R
|
|
@ -116,7 +116,11 @@ server <- function(input, output) {
|
|||
})
|
||||
|
||||
output$gost <- renderPlotly({
|
||||
if (input$enable_gost) {
|
||||
result <- gost(results()[, gene], ordered_query = TRUE)
|
||||
gostplot(result, capped = FALSE, interactive = TRUE)
|
||||
} else {
|
||||
NULL
|
||||
}
|
||||
})
|
||||
}
|
||||
8
ui.R
8
ui.R
|
|
@ -86,6 +86,13 @@ ui <- fluidPage(
|
|||
),
|
||||
wellPanel(
|
||||
h3("Gene set enrichment analysis"),
|
||||
checkboxInput(
|
||||
"enable_gost",
|
||||
"Perform a gene set enrichment analysis on the filtered result \
|
||||
genes."
|
||||
),
|
||||
conditionalPanel(
|
||||
"input.enable_gost == true",
|
||||
plotlyOutput(
|
||||
"gost",
|
||||
width = "100%",
|
||||
|
|
@ -93,4 +100,5 @@ ui <- fluidPage(
|
|||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue