Skip to content

Commit e539ca6

Browse files
committed
test
1 parent 878fac4 commit e539ca6

File tree

8 files changed

+525
-3627
lines changed

8 files changed

+525
-3627
lines changed

.DS_Store

0 Bytes
Binary file not shown.

.Rhistory

+512
Large diffs are not rendered by default.

docs/.DS_Store

0 Bytes
Binary file not shown.

docs/app.json

+1-1
Large diffs are not rendered by default.

docs/shinylive/.DS_Store

-6 KB
Binary file not shown.

docs/shinylive/chunk-AW35JATS.js

-3,588
This file was deleted.

myapp/CP.png

-542 KB
Binary file not shown.

myapp/app.R

+12-38
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,25 @@
55

66
## Load package
77
library(shiny)
8-
library(base64enc)
8+
# library(base64enc)
99
# library(shinyjs)
1010
# library(shinyBS)
1111
# library(DT)
12-
CP <- base64enc::dataURI(file="CP.png", mime="image/png")
12+
# CP <- base64enc::dataURI(file="CP.png", mime="image/png")
1313

1414
ui <- fluidPage(
15-
# numericInput(inputId = "Num",
16-
# "Sample size", value = 15),
17-
# plotOutput(outputId = "LinePlot")
1815

1916

2017
##--------------------------- 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+
# ),
3127

3228
##--------------------------- fixed Row --------------------------------##
3329

@@ -60,36 +56,14 @@ ui <- fluidPage(
6056
value = 'Introduction',
6157
tags$strong(tags$p(tags$h4("Introduction", style="color:black"))),
6258
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')
7560
),
7661
column(5, tabsetPanel( id = "OCtabs",
7762
tabPanel(tags$h4( tags$strong("CP-MRI Score for CP"),
7863
align = "center", style = "color:coral"),
7964
value = 1,
8065
br(),
8166
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-
9367
)))
9468
), ## End of introduction
9569

0 commit comments

Comments
 (0)