-
Notifications
You must be signed in to change notification settings - Fork 8
/
ui-tab-inputdata.R
88 lines (80 loc) · 5.85 KB
/
ui-tab-inputdata.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
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
tabItem(tabName = "datainput",
hr(),
fluidRow(column(6,
box(title = "Upload Data", solidHeader = T, status = "success", width = 12, collapsible = T,id = "uploadbox",
#downloadLink("instructionspdf",label="Download Instructions (pdf)"),
radioButtons('data_file_type','Use example file or upload your own data',
c(
'Upload .CSV'="csvfile",
'Example Data'="examplecounts"
),selected = "csvfile"),
conditionalPanel(condition="input.data_file_type=='csvfile'",
p("CSV counts file")
),
conditionalPanel(condition = "input.data_file_type=='csvfile'",
fileInput('datafile', 'Choose File Containing Data', multiple = F)
)
),
conditionalPanel("output.fileUploaded",
box(title = "Initialize Parameters", solidHeader = T, status = "primary", width = 12, collapsible = T,id = "iParamsbox",
wellPanel(
column(
6,
selectInput("geneColumn","Select Genes column:", choices = c("sdfs","dfs"))
),
column(6,
selectInput("log2fcColumn","Select Log2FC column:", choices = c("sdfs","dfs"))
),
# column(4,
# selectInput("padjColumn","Select padj column:", choices = c("sdfs","dfs"))
# ),
tags$div(class = "clearBoth")
),
actionButton("nextInitParams","Next", class = "btn-info", style = "width: 100%")
),
box(title = "gseGO object Parameters", solidHeader = T, status = "primary", width = 12, collapsible = T,id = "createGoBox", collapsed = T,
wellPanel(
column(4,
selectInput("organismDb","Organism:", choices = NULL, selected = NULL)
),
column(4,
selectInput("keytype","Keytype:", choices = c(""), selected = NULL)
),
column(4,
selectInput("ontology","Ontology:", choices = c("MF", "BP", "CC","ALL"), selected = "ALL")
),
column(4,
numericInput("nPerm","Permutation #s:", value = 1000, min = 1, max = 100000)
),
column(4,
numericInput("minGSSize","minGSSize:", value = 10)
),
column(4,
numericInput("maxGSSize","maxGSSize:", value = 500)
),
column(4,
numericInput("pvalCuttoff","P-Value Cutoff:", value = 0.05)
),
column(4,
selectInput("pAdjustMethod","pAdjustMethod:", choices = c("holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none"), selected = "none")
),
column(4,
selectInput("keggKeyType","keggKeyType:", choices = c("kegg", "ncbi-geneid", "ncib-proteinid","uniprot"), selected = "ncbi-geneid")
),
tags$div(class = "clearBoth")
),
actionButton("initGo","Create gseGO Object", class = "btn-info", style = "width: 100%")
)
)
),#column
column(6,
bsCollapse(id="input_collapse_panel",open="data_panel",multiple = FALSE,
bsCollapsePanel(title="Data Contents Table:",value="data_panel",
p("Note: if there are more than 20 columns, only the first 20 will show here"),
textOutput("inputInfo"),
dataTableOutput('countdataDT')
)
)#bscollapse
)#column
)#fluidrow
)#tabpanel