Skip to content

Commit be69aa2

Browse files
committed
Update the DRomicsInterpreter shiny app: add a 'scaling' checkbox for curvesplot
1 parent bfa5884 commit be69aa2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

inst/DRomicsInterpreter-shiny/server.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,7 @@ server <- function(input, output, session) {
632632
doselogtransfoCurvesplot <- eventReactive(input$buttonRunStep4, {input$doselogtransfoCurvesplot})
633633
colorbyCurvesplot <- eventReactive(input$buttonRunStep4, {input$colorbyCurvesplot})
634634
addBMDCurvesplot <- eventReactive(input$buttonRunStep4, {input$addBMDCurvesplot})
635+
scalingCurvesplot <- eventReactive(input$buttonRunStep4, {input$scalingCurvesplot})
635636
facetbycolumnsCurvesplot <- eventReactive(input$buttonRunStep4, {input$facetbycolumnsCurvesplot})
636637
facetbyrowsCurvesplot <- eventReactive(input$buttonRunStep4, {input$facetbyrowsCurvesplot})
637638

@@ -662,7 +663,7 @@ server <- function(input, output, session) {
662663
mycurvesplot <- do.call("curvesplot", list(
663664
extendedres = myextendedresforCurvesplot$myextendedresforCurvesplot,
664665
free.y.scales = TRUE,
665-
scaling = TRUE,
666+
scaling = scalingCurvesplot(),
666667
xmin = mindoseCurvesplot(),
667668
xmax = maxDoseXScale(),
668669
dose_log_transfo = doselogtransfoCurvesplot(),

inst/DRomicsInterpreter-shiny/ui.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,8 @@ ui <- fluidPage(
401401
column(2,
402402
fixedRow(
403403
checkboxInput("colorbyCurvesplot", label = HTML("<b>Color by trend</b>"), value = TRUE),
404-
checkboxInput("addBMDCurvesplot", label = HTML("<b>Add BMD-BMR values</b>"), value = TRUE)
404+
checkboxInput("addBMDCurvesplot", label = HTML("<b>Add BMD-BMR values</b>"), value = TRUE),
405+
checkboxInput("scalingCurvesplot", label = HTML("<b>Scaling</b>"), value = TRUE)
405406
)
406407
)
407408
)

0 commit comments

Comments
 (0)