-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
36 lines (29 loc) · 1.11 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
library(plotly)
shinyUI(fluidPage(
sidebarLayout( position = "right",
sidebarPanel( "",
fileInput("datainput", label = "Input your data:"),
selectInput("filetype", label = "Select file type:", choices = c("Comma","Tabs"), selected = "Tabs"),
selectInput("datatype", label = "Select data type:", choices = c("Raw","Processed"), selected = "Raw"),
checkboxInput("checkboxes",label = "Contains Header", value = T),
actionButton("upload" ,"Upload File",class = "btn btn-primary"),
uiOutput("data"),
uiOutput("data2"),
uiOutput("param"),
uiOutput("kmeansbutton")
),
mainPanel(
fluidRow(
db <- actionButton("donorbutton" ,"Donors",class = "btn btn-primary"),
sb <- actionButton("stimulusbutton" ,"Stimuli",class = "btn btn-primary"),
tb <- actionButton("timebutton" ,"Time Points",class = "btn btn-primary"),
textOutput("error")
),
tabsetPanel(
tabPanel("PCA",plotlyOutput("plot1")),
tabPanel("Scree Plot",plotlyOutput("plot2")),
tabPanel("K-Means",plotlyOutput("plotk"))
)
)
)
))