Repository navigation
Expand file tree
/
Copy pathui.R
More file actions
108 lines (100 loc) · 3.91 KB
/
Copy pathui.R
File metadata and controls
108 lines (100 loc) · 3.91 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
library(shinydashboard)
ui <- dashboardPage(
dashboardHeader(title = "PlexedPiper"),
# Sidebar panel ----
dashboardSidebar(
textInput(inputId = "DataPkgNumber",
label = "Data Package ID:",
value = "3606"),
fluidRow(
column(2,
downloadButton("downloadData", "Download"), style = "padding-left:30px;")),
radioButtons("proteome", label = "Proteome:", choices = c("Global", "Phospho"),
selected = "Global"),
tags$style(".skin-blue .sidebar a { color: #444; }")
),
# Main panel for displaying outputs ----
dashboardBody(
tags$head(
tags$style(HTML("hr {border-top: 1px solid #000000;}")) # make hr() visible
),
tags$head(
tags$style("label{font-size: 15px}")
),
fluidRow(
# tags$div(class = "row",
# tags$div(class = "span")),
column(5, uiOutput("ibox")),
column(2, textInput(inputId = "s2n",
"S/N Ratio:",
value = 0),
textInput(inputId = "interference_score",
"Interference Score:",
value = 0.5), style = 'padding-left:0px; padding-right:50px; padding-top:0px; padding-bottom:0px'),
column(2, actionButton("submit", "MASIC"))
),
br(),
hr(),
br(),
fluidRow(
column(5, uiOutput("ibox2")),
column(2,
# selectInput("org_name", "Organism:", choices = list("Rattus norvegicus" = 1,
# "Homo sapiens" = 2)),
conditionalPanel(
condition = "input.proteome == 'Global'",
textInput(inputId = "pep_fdr",
label = "Peptide-level FDR:",
value = 0.01),
textInput("prot_fdr",
label = "Accession-level FDR:",
value = 0.01),
checkboxInput("remap_genes",
"Remap to Genes"),
checkboxInput("protein_inference",
"Parsimonious Inference"),
checkboxInput("unique_only", "Drop Shared Peptides")),
conditionalPanel(
condition = "input.proteome == 'Phospho'",
textInput(inputId = "pep_fdr",
label = "Peptide-level FDR:",
value = 0.01),
checkboxInput("add_ascore",
"Add A-score"),
checkboxInput("remap_genes",
"Remap to Genes"),
checkboxInput("protein_inference",
"Parsimonious Inference"),
checkboxInput("unique_only", "Drop Shared Peptides")),
style = 'padding-left:0px; padding-right:50px; padding-top:0px; padding-bottom:0px'
),
column(2, actionButton("submit2", "MS-GF+"))
),
br(),
hr(),
br(),
fluidRow(
column(5, uiOutput("ibox3")),
column(2,
conditionalPanel(
condition = "input.proteome == 'Global'",
selectInput(inputId = "gl_aggregate_to",
label = "Roll up to:",
choices = list("Accession" = 1,
"Peptide" = 2),
selected = 1)),
conditionalPanel(
condition = "input.proteome == 'Phospho'",
selectInput(inputId = "ph_aggregate_to",
label = "Roll up to:",
choices = list("Peptide" = 1,
"SiteID" = 2),
selected = 1)),
style = 'padding-left:0px; padding-right:50px; padding-top:0px; padding-bottom:0px'),
column(2, actionButton("submit3", "Quant"))
),
fluidRow(
textOutput('textout')
)
)
)