mirror of
https://github.com/johrpan/ubigen.git
synced 2025-10-26 19:57:24 +01:00
Structure results using tabs
This commit is contained in:
parent
7f69b26a49
commit
6fb91e0eff
2 changed files with 25 additions and 24 deletions
|
|
@ -30,9 +30,9 @@ server <- function(input, output, session) {
|
|||
observeEvent(custom_genes(),
|
||||
{ # nolint
|
||||
if (length(custom_genes()) > 0) {
|
||||
updateTabsetPanel(session, "custom_genes_panel", selected = "show")
|
||||
} else {
|
||||
updateTabsetPanel(session, "custom_genes_panel", selected = "hide")
|
||||
updateTabsetPanel(session, "results_panel", selected = "custom_genes")
|
||||
} else if (input$results_panel == "custom_genes") {
|
||||
updateTabsetPanel(session, "results_panel", selected = "top_genes")
|
||||
}
|
||||
},
|
||||
ignoreNULL = FALSE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue