shinyUI(pageWithSidebar(
headerPanel('Hey!'),
sidebarPanel(
conditionalPanel(
condition = "input.tabs1=='Map'",
sliderInput("grid", "Grid Cell for All:",min=3,max=2634,value=3,step=1,animate=TRUE)),
sliderInput("i", "Range of desired grid:",min=1,max=14,value=3),
checkboxInput(inputId = "Pvalues",
label = strong("Graph by p-values"),value=FALSE)
),
mainPanel(
tabsetPanel(inputId ="tabs1",
tabPanel("North America",
plotOutput("allPlot",height=480,width=800)),
tabPanel("Uncertainty",
htmlOutput("testPlot")),
tabPanel("Map",
div(class="span12",plotOutput('RangePlot', clickId="coords", hoverId="hover"),height=800,width=800),
div(class="span6", tableOutput("hoverinfo")),
div(class="span6", tableOutput("clickinfo")))
)
)
))