inst/shinyApp/tabs/tab_qc/ui_qc.R

tab_qc <- tabItem(
  tabName = "qc",
  align = "center",
  
  #Pre-processing instructions
  h1("Pre-Processing (OPTIONAL)"),
  uiOutput("qc_intro"),
  HTML('<hr style="border-color: #0088cc;">'),
  
  fluidRow(
    column(
      width = 6,
      h4("Quality Control for MetaboAge and the surrogates"),
      #QC of MetaboAge
      #Chose the threshold of zeros allowed
      numericInput("Nmax_zero_metaboAge",
        label = "Max missing values allowed per sample (default=Nmiss=1)",
        value = 1
      ),
      #Chose the threshold of missing values allowed
      numericInput("Nmax_miss_metaboAge",
        label = "Max zeros allowed per sample (default=Nmiss=1)",
        value = 1
      ),
      div(br(),
          htmlOutput("MetaboAge_settings"),
          br(),
          style = "background-color: #f5f5f5; border: 1px solid #e3e3e3; width: 90%"
      ),
      br(),
      #Print the selected thresholds and resulting dataset
      verbatimTextOutput("QC_metaboAge_text"),
      #style = "text-align:center"
    ),
    column(
      width = 6,
      h4("Quality Control for the Surrogates"),
      #QC of the surrogates
      #Chose the threshold of zeros allowed
      numericInput("Nmax_zero_surrogates",
                  label = "Max missing values allowed per sample (default=Nmiss=1)",
                  value = 1
      ),
      #Chose the threshold of missing values allowed
      numericInput("Nmax_miss_surrogates",
                  label ="Max zeros allowed per sample (default=Nmiss=1)",
                  value = 1
      ),
      
      div(br(),
          htmlOutput("Surrogates_settings"),
          br(),
          style = "background-color: #f5f5f5; border: 1px solid #e3e3e3; width: 90%"
      ),
      br(),
      #Print the selected thresholds and resulting dataset
      verbatimTextOutput("QC_surrogates_text"),
      #style = "text-align:center"
    )
  ),
  br(),
  HTML('<hr style="border-color: #0088cc;">'),
  br()
)

Try the MiMIR package in your browser

Any scripts or data that you put into this service are public.

MiMIR documentation built on May 29, 2024, 5:38 a.m.