-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.R
60 lines (51 loc) · 1.62 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
51
52
53
54
55
56
57
58
59
60
library(plotly)
fluidPage(
fluidRow(
sidebarLayout(
sidebarPanel(
fluidRow(
#sliderInput("N_samps", "Number of samples", 1, 8, 1),
numericInput("N_samps", "Number of samples", value=1),
selectInput("samp_select", "Sample to mark", choices=c(1, "Water"), selected=1),
actionButton("load_layout", "Load Layout"),
actionButton("save_layout", "Save Layout"),
br("\n"),
fileInput("pyro_file", "Pyro data file"),
actionButton("start_analysis", "Start analysis")
)
),
mainPanel(
div(
style = "position:relative",
plotOutput(
"plate",
click = "plate_click",
dblclick = "plate_dblclick",
brush = brushOpts(id = "plate_brush"),
hover = hoverOpts(id = "plate_hover", delay = 200, delayType = "debounce")
),
uiOutput("hover_info")
)
)
)
),
fixedRow(
# uiOutput("assay_tabs")
column(3,
actionButton("remove_failed", "Remove failed CpGs"),
br("\n"),
selectInput("assay_select", "Assay", NULL),
#checkboxInput("remove_failed", "Remove failed CpGs", value=TRUE),
checkboxGroupInput("CpG_select", "CpGs"),
br("\n\n"),
downloadButton("export_tsv", "Export data (tsv)"),
downloadButton("export_xlsx", "Export data (xlsx)")
),
column(3,
tableOutput("assay_table"),
style="overflow-y: scroll"),
column(6,
plotlyOutput("assay_plot")
)
)
)