Nothing
#' @import shiny
app_ui <- function() {
fluidPage(
titlePanel("VICI: accurate estimation of Vaccine Induced Cellular Immunogenicity with bivariate modeling",windowTitle = "VICI"),
h6("v0.6.0"),
h5(),
shiny::actionLink(inputId='github_code', label="Source code",
icon = icon("github"),
onclick ="window.open('https://github.com/sistm/vici', '_blank')"),
shiny::actionLink(inputId='github_code', label="CRAN package",
icon = icon("r-project"),
onclick ="window.open('https://CRAN.R-project.org/package=vici', '_blank')",
style='padding:10px;'),
h5(),
sidebarLayout(
mod_settings_pan_ui("settings_pan_ui_1"),
mainPanel(tabsetPanel(type = "tabs", id="inTabset",
tabPanel("Results", value="resTab",
# fluidRow(
# column(8,
# withMathJax(),
# h3("Model"),
# uiOutput('mod')),
# ),
conditionalPanel(
condition = "output.heatmap != null | output.res_error != null",
tags$hr(),
h3("Analysis results"),
conditionalPanel(
condition = "output.res_error != null",
verbatimTextOutput("res_error")
),
conditionalPanel(
condition = "output.res_lik != null",
#wellPanel(textOutput("res_sentence")),
#h3(""),
wellPanel(
fluidRow(
#column(6,
plotOutput("heatmap"),
h6(""),
downloadButton("downloadHM", label = "Download heatmap [PNG]",
class = "btn-primary")
#),
# column(6, plotOutput("boxplot"),
# h6(""),
# downloadButton("downloadBP", label = "Download boxplot [PNG]",
# class = "btn-primary")
# )
)
),
h2(""),
uiOutput('boxplotsAndTabs'),
downloadButton("downloadRes", label = "Download Results", class = "btn-primary")
)
)
),
# Output: Data file ----
tabPanel("Data view", value="dataTab",
conditionalPanel(
#tags$hr(),
condition = "output.table2render == null",
#h3("Data view")
helpText("Please input some data")
),
h5(""),
DT::dataTableOutput("table2render")
),
tabPanel("Additional Information", value="infoTab",
conditionalPanel(
condition = "output.mod_display",
withMathJax(),
h3("Statistical model fitted for each ICS response:"),
uiOutput('mod')
#)
),
h2(),
tags$hr(),
conditionalPanel(
condition = "output.res_lik != null",
h3("Additional estimates:"),
wellPanel(htmlOutput("res_nparam")),
h5(""),
wellPanel(tableOutput("res_lik")),
h5(""),
wellPanel(h4("Estimated variances"),
tableOutput("res_var"))
)
)
)
)
)
)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.