Commit b0d2c309 authored by Midoux Cedric's avatar Midoux Cedric

switch button

parent b899b6ec
......@@ -352,6 +352,7 @@ observeEvent(input$transformData, {
if (class(transform_physeq()) == "phyloseq") {
message(paste("[Easy16S] Transfom data :", input$transformFun))
shinyWidgets::updateSwitchInput(session = session, inputId = "useTransf", disabled = FALSE)
shinyWidgets::updateSwitchInput(session = session, inputId = "useTransf", value = TRUE)
removeModal()
} else {
......
......@@ -19,30 +19,35 @@ dashboardHeader(title = "Easy16S"),
actionButton("dataButton",
"Select your data",
icon = icon("upload"),
style = "width: 80% ; color: black ; background-color: gray90"),
width = 200
),
actionButton("filterButton",
"Select some samples",
icon = icon("filter"),
style = "width: 80% ; color: black ; background-color: gray90"),
width = 200
),
actionButton("transformButton",
"Transform abundance",
icon = icon("square-root-alt"),
style = "width: 80% ; color: black ; background-color: gray90"),
width = 200
),
shinyWidgets::switchInput("useTransf",
value = FALSE,
label = "Transformed Data",
#inline = TRUE,
label = HTML("Transformed data"),
disabled = TRUE,
size = "mini",
labelWidth = "100%"
width = 200
),
actionButton("downloadButton",
"Download data",
icon = icon("download"),
style = "width: 80% ; color: black ; background-color: gray90"),
width = 200
),
actionButton("plotButton",
"Download last plot",
icon = icon("file-image"),
style = "width: 80% ; color: black ; background-color: gray90"),
width = 200
),
sidebarMenu(
menuItem("Summary", tabName = "Summary", icon = icon("dna")),
menuItem("Tables", icon = icon("table"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment