|
5 | 5 |
|
6 | 6 | ## Load package
|
7 | 7 | library(shiny)
|
8 |
| -library(base64enc) |
| 8 | +# library(base64enc) |
9 | 9 | # library(shinyjs)
|
10 | 10 | # library(shinyBS)
|
11 | 11 | # library(DT)
|
12 |
| -CP <- base64enc::dataURI(file="CP.png", mime="image/png") |
| 12 | +# CP <- base64enc::dataURI(file="CP.png", mime="image/png") |
13 | 13 |
|
14 | 14 | ui <- fluidPage(
|
15 |
| - # numericInput(inputId = "Num", |
16 |
| - # "Sample size", value = 15), |
17 |
| - # plotOutput(outputId = "LinePlot") |
18 | 15 |
|
19 | 16 |
|
20 | 17 | ##--------------------------- tags header --------------------------------##
|
21 |
| - tags$head( |
22 |
| - tags$style(HTML(" |
23 |
| - .shiny-output-error-validation { |
24 |
| - color: red; |
25 |
| - } |
26 |
| - ")), |
27 |
| - |
28 |
| - tags$style(HTML('#simu_btn{ width:100%; }')), |
29 |
| - tags$style(HTML('#compBtnClick{ width:100%; }')) |
30 |
| - ), |
| 18 | + # tags$head( |
| 19 | + # tags$style(HTML(".shiny-output-error-validation { |
| 20 | + # color: red; |
| 21 | + # } |
| 22 | + # ")), |
| 23 | + # |
| 24 | + # tags$style(HTML('#simu_btn{ width:100%; }')), |
| 25 | + # tags$style(HTML('#compBtnClick{ width:100%; }')) |
| 26 | + # ), |
31 | 27 |
|
32 | 28 | ##--------------------------- fixed Row --------------------------------##
|
33 | 29 |
|
@@ -60,36 +56,14 @@ ui <- fluidPage(
|
60 | 56 | value = 'Introduction',
|
61 | 57 | tags$strong(tags$p(tags$h4("Introduction", style="color:black"))),
|
62 | 58 | br(),
|
63 |
| - column(5, tags$img(src = CP, height = '200px', width = '400px') |
64 |
| - ### Input of endpoints ### |
65 |
| - # wellPanel(style = "background-color: lightgrey;", |
66 |
| - # div( |
67 |
| - # fixedRow( |
68 |
| - # ## Select the different endpoints |
69 |
| - # column(10,tags$h4("Endpoints:")), |
70 |
| - # ## Choice of binary and continuous |
71 |
| - # column(10, radioButtons("endpoints", label = NULL, choices = c('Binary', 'Continuous'), inline = T)) |
72 |
| - # ) |
73 |
| - # ) |
74 |
| - # ) |
| 59 | + column(5, #tags$img(src = CP, height = '200px', width = '400px') |
75 | 60 | ),
|
76 | 61 | column(5, tabsetPanel( id = "OCtabs",
|
77 | 62 | tabPanel(tags$h4( tags$strong("CP-MRI Score for CP"),
|
78 | 63 | align = "center", style = "color:coral"),
|
79 | 64 | value = 1,
|
80 | 65 | br(),
|
81 | 66 | column(12, htmlOutput("opt_intro"))
|
82 |
| - # br(), |
83 |
| - # column(12, plotOutput("CP_plot", width="60%", height="700px")) |
84 |
| - |
85 |
| - # dataTableOutput("OC_table"), |
86 |
| - # column(12,br()), |
87 |
| - # uiOutput("OC_plot_download") |
88 |
| - # uiOutput("OC_plot_caption") |
89 |
| - # column(12, htmlOutput("OC_plot_caption")), |
90 |
| - # column(12,downloadButton("download_OC_plot",HTML("Download OC plot"))), |
91 |
| - # column(12,plotOutput("OC_plot", width="60%", height="700px")) |
92 |
| - |
93 | 67 | )))
|
94 | 68 | ), ## End of introduction
|
95 | 69 |
|
|
0 commit comments