Relayout user interface

This commit is contained in:
Elias Projahn 2021-08-29 15:53:31 +02:00
parent 7b06f626b9
commit 040aabc610

32
ui.R
View file

@ -3,10 +3,10 @@ library(shiny)
ui <- fluidPage( ui <- fluidPage(
titlePanel("TPE-OLD candidates"), titlePanel("TPE-OLD candidates"),
sidebarLayout( column(
position = "right", width = 3,
sidebarPanel( wellPanel(
h3("Candidate selection"), h3("Filter criteria"),
selectInput( selectInput(
"species", "species",
"Species to include", "Species to include",
@ -29,16 +29,24 @@ ui <- fluidPage(
min = 0, min = 0,
max = 30, max = 30,
value = 10 value = 10
)
), ),
div( wellPanel(
style = "overflow-x: auto", h3("Results"),
DTOutput("genes")
),
width = 3
),
mainPanel(
h2("Synposis"),
textOutput("synposis"), textOutput("synposis"),
div(
style = "overflow-x: auto; overflow-y: auto; margin-top: 16px",
DTOutput("genes")
)
)
),
column(
width = 8,
wellPanel(
h3("Gene positions"),
p("This plot shows the selected genes' distance to the telomeres \
across species. It visualizes how certain genes have \
evolutionary conserved positions."),
div( div(
style = "overflow-x: auto", style = "overflow-x: auto",
div( div(