Luca
--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Luca
Luca
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Luca
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Luca
Luca
library(shiny)
# Define UI
shinyUI(pageWithSidebar(
# Application title
headerPanel("Test: BSEP Mechanistic Modelling"),
# Sidebar with controls to select the variable to plot against mpg
# and to specify whether outliers should be included
sidebarPanel(
numericInput("tmax", "Simulation length (mins):", 10),
numericInput("stepX", "How many simulations (higher values for slower computation but more defined plots):", 20),
# numericInput("alpha", "alpha:", 0.3),
numericInput("ClIntPv", "Passive Clearance:", 0.144),
numericInput("Sn2IcAvKm", "Uptake (from Blood) Km:", 14, step=1),
numericInput("Sn2IcAvVmax", "Uptake (from Blood) Vmax:", 16, step=10),
numericInput("Ic2SnAvKm", "Efflux (to Blood) Km:", 7.7, step=1),
numericInput("Ic2SnAvVmax", "Efflux (to Blood) Vmax:", 150, step=10)
),
# Show the tabbed plots for the requested variable(s)
mainPanel(
tabsetPanel(
tabPanel("S.C = Substrate in Cell", plotOutput("S.C_Plot")),
tabPanel("BIC = Bile ? ?", plotOutput("BIC_Plot")),
tabPanel("BEI = Bile Extraction Index", plotOutput("BEI_Plot"))
)
)
))
# Shiny_GIT_Surfaces
library(shiny)
# Define UI
shinyUI(
pageWithSidebar(
# Application title
headerPanel("Test: Gastro-Intestinal Mechanistic Modelling"),
# Sidebar with controls to select the variable to plot against mpg
# and to specify whether outliers should be included
sidebarPanel(
uiOutput("choosePhysiology"),
# numericInput("GI_length", "GI_length (m):", .1, step=.1),
# numericInput("GI_radius", "GI_radius (m):", .0175, step=.0001),
# numericInput("GI_TrTime", "GI_TrTime (mins):", 5, step=1),
shiny::conditionalPanel(
condition="input.Physiology",
uiOutput("setGI_length"),
uiOutput("setGI_radius"),
uiOutput("setGI_TrTime")
),
shiny::br(),
radioButtons(inputId='Times', label='Spacing between simulation intervals', choices=c('linear', 'geometric', 'hybrid'), selected='hybrid'),
shiny::conditionalPanel(
condition="input.Times == 'linear'",
numericInput("LinearInterval", "How often do you want to save (in mins):", 1)
),
shiny::conditionalPanel(
condition="input.Times == 'geometric'",
numericInput("spacing", "how many time-points for each power of ten?:", 3)
),
shiny::br(),
# radioButtons(inputId='Simultaneous', label='Allow multiple transport mechanisms', choices=c('yes', 'no'), selected='yes'),
radioButtons(inputId='UorE', label='Uptake or Efflux', choices=c('Uptake', 'Efflux'))
),
# Show the tabbed plots for the requested variable(s)
mainPanel(
tabsetPanel(
tabPanel("Impact along Km and Vmax axes (empty)",
shiny::conditionalPanel(
condition="input.UorE == 'Uptake'",
numericInput("Ap_Upt_Km", "Uptake Transporter Affinity (uM):", 10),
numericInput("Ap_Upt_Vmax", "Uptake Transporter Capacity (pmol/min/mg(protein)):", 100),
plotOutput("K.V_Plot")
),
shiny::conditionalPanel(
condition="input.UorE == 'Efflux'",
numericInput("Ap_Efx_Km", "Efflux Transporter Affinity (uM):", 10),
numericInput("Ap_Efx_Vmax", "Efflux Transporter Capacity (pmol/min/mg(protein)):", 100)
)
),
tabPanel("Impact along Perm and Cif axes (empty)",
numericInput("Papp", "Passive Permeability (1e-6cm/s):", 10),
numericInput("Cif", "Intestinal Concentration (uM):", 100),
plotOutput("P.C_Plot")
),
tabPanel("Substrate amount over time",
plotOutput("S.t_Plot")
),
tabPanel("just beta texting",
shiny::textOutput("testText"),
shiny::tableOutput("tablePhysiology")
)
)
)
)
)
Hope this helps.
Luca
--
You received this message because you are subscribed to a topic in the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/shiny-discuss/TnG5KCnaG3U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to shiny-discus...@googlegroups.com.
fluidRow(
column(3, checkboxInput(inputId = 'norm', 'Normalize', value = T)),
column(3, actionButton('summarize', 'Run Summary'))
)