-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.r
50 lines (41 loc) · 1.41 KB
/
ui.r
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Define the overall UI
library(markdown)
shinyUI(
# Use a fluid Bootstrap layout
fluidPage(
# Give the page a title
titlePanel(p("PCR primer Tm calculator", style = "color:blue",
align = "center"),
br()),
# Generate a row with a sidebar
sidebarLayout(
# Define the sidebar
sidebarPanel(
img(src="dna.png", height = 100, width = 250),
hr(),
# Integer for magnesium concentration
sliderInput("mg", "Magnesium concentration [mmole/l]:",
min=0, max=10, value=5),
# Decimal for KCl concentraion
sliderInput("kcl", "KCl concentration [mole/l]:",
min = 0, max = 1.0, value = 0.5, step= 0.1),
helpText("Adjust salt concentration"),
hr(),
# Input for primers sequence
textInput("FOR", label = h5("FORWARD primer sequence"),
value = ""),
textInput("REV", label = h5("REVERSE primer sequence"),
value = ""),
helpText("Enter both primer sequences (it should contain only A, C, G, T
letters)")
),
# Create a spot for the barplot
mainPanel(
textOutput("FOR"),
textOutput("REV"),
plotOutput("Plot"),
includeMarkdown("documentation.md")
)
)
)
)