Skip to content

Commit

Permalink
Update the DRomicsInterpreter shiny app: add a 'scaling' checkbox for…
Browse files Browse the repository at this point in the history
… curvesplot
  • Loading branch information
aursiber committed Jun 18, 2024
1 parent bfa5884 commit be69aa2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion inst/DRomicsInterpreter-shiny/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,7 @@ server <- function(input, output, session) {
doselogtransfoCurvesplot <- eventReactive(input$buttonRunStep4, {input$doselogtransfoCurvesplot})
colorbyCurvesplot <- eventReactive(input$buttonRunStep4, {input$colorbyCurvesplot})
addBMDCurvesplot <- eventReactive(input$buttonRunStep4, {input$addBMDCurvesplot})
scalingCurvesplot <- eventReactive(input$buttonRunStep4, {input$scalingCurvesplot})
facetbycolumnsCurvesplot <- eventReactive(input$buttonRunStep4, {input$facetbycolumnsCurvesplot})
facetbyrowsCurvesplot <- eventReactive(input$buttonRunStep4, {input$facetbyrowsCurvesplot})

Expand Down Expand Up @@ -662,7 +663,7 @@ server <- function(input, output, session) {
mycurvesplot <- do.call("curvesplot", list(
extendedres = myextendedresforCurvesplot$myextendedresforCurvesplot,
free.y.scales = TRUE,
scaling = TRUE,
scaling = scalingCurvesplot(),
xmin = mindoseCurvesplot(),
xmax = maxDoseXScale(),
dose_log_transfo = doselogtransfoCurvesplot(),
Expand Down
3 changes: 2 additions & 1 deletion inst/DRomicsInterpreter-shiny/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,8 @@ ui <- fluidPage(
column(2,
fixedRow(
checkboxInput("colorbyCurvesplot", label = HTML("<b>Color by trend</b>"), value = TRUE),
checkboxInput("addBMDCurvesplot", label = HTML("<b>Add BMD-BMR values</b>"), value = TRUE)
checkboxInput("addBMDCurvesplot", label = HTML("<b>Add BMD-BMR values</b>"), value = TRUE),
checkboxInput("scalingCurvesplot", label = HTML("<b>Scaling</b>"), value = TRUE)
)
)
)
Expand Down

0 comments on commit be69aa2

Please sign in to comment.