geposanui/ui.R

69 lines
1.8 KiB
R
Raw Normal View History

2021-06-24 22:38:16 +02:00
library(DT)
library(shiny)
ui <- fluidPage(
titlePanel("TPE-OLD candidates"),
2021-08-29 15:53:31 +02:00
column(
width = 3,
wellPanel(
h3("Filter criteria"),
2021-08-29 13:25:12 +02:00
selectInput(
"species",
"Species to include",
choices = list(
2021-09-30 12:54:40 +02:00
"Replicatively aging" = "replicative",
"All qualified" = "all"
2021-08-29 13:25:12 +02:00
)
2021-09-18 23:33:37 +02:00
)
),
wellPanel(
h3("Ranking"),
sliderInput(
2021-09-30 12:54:40 +02:00
"clusteriness",
"Clustering of genes",
2021-09-18 23:33:37 +02:00
post = "%",
min = 0,
max = 100,
step = 1,
2021-09-30 12:54:40 +02:00
value = 50
2021-09-18 23:33:37 +02:00
),
sliderInput(
"correlation",
"Correlation with known genes",
post = "%",
min = 0,
max = 100,
step = 1,
value = 100
2021-08-29 15:53:31 +02:00
)
2021-06-24 22:38:16 +02:00
),
2021-08-29 15:53:31 +02:00
wellPanel(
h3("Results"),
2021-08-29 15:29:34 +02:00
textOutput("synposis"),
2021-08-29 15:53:31 +02:00
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."),
2021-08-29 13:43:14 +02:00
div(
style = "overflow-x: auto",
div(
style = "min-width: 1400px",
plotOutput(
"scatter",
width = "100%",
height = "600px"
)
)
)
2021-06-24 22:38:16 +02:00
)
)
)