-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
63 lines (48 loc) · 2.12 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
61
62
63
library(shiny)
library(shinythemes)
# library(shinyRGL)
# Define UI for application that draws a histogram
shinyUI(fluidPage(theme = shinytheme("journal"),
# Application title
titlePanel("Twitter Normalized Distance Analyzer"),
# Sidebar with a slider input for the number of bins
sidebarLayout(
sidebarPanel(
fileInput('matrix', 'Choose MATRIX file to upload',
accept = c(
'text/csv',
'text/comma-separated-values',
'text/tab-separated-values',
'text/plain',
'.csv',
'.tsv'
)
),
sliderInput("numberClusters", "Num. components/clusters", 0, 10, value = 3, step = 1),
sliderInput("minDistance", "Min. distance", 0, 1.2, value = 0.55, step = 0.025),
# tags$hr(),
# uiOutput("referenceSelector"),
tags$hr(),
uiOutput("targetSelector")
),
# Show a plot of the generated distribution
mainPanel(
tabsetPanel(type = "tabs",
# tabPanel("Table", dataTableOutput('facebooktable')),
# tabPanel("Histo", imageOutput('SummaryOutput',height = "1000px")),
tabPanel("kMeans", imageOutput('kmeansOutput',height = "1000px")),
tabPanel("kMeans3D", imageOutput('sctPlot', height = "1000px")),
tabPanel("HierarClust", imageOutput('HierarClustOutput',height = "1000px")),
tabPanel("3DHierarClust", imageOutput('DHierarClust', height = "1000px")),
tabPanel("MDS", imageOutput('MDSOutput',height = "1000px")),
tabPanel("Graph", downloadButton('downloadData', 'Download'), imageOutput('igraphOutput',height = "1000px")),
tabPanel("PCA", imageOutput('PCAFactor',height = "1000px")),
tabPanel("FA", verbatimTextOutput('caption')),
tabPanel("FA Plot", plotOutput('PCADiagram'))
# tabPanel("Radial", imageOutput('RadialOutput',height = "1000px"))
# tabPanel("Fuzzy C-Means", imageOutput('FuzzyOutput', height = "1000px")),
# tabPanel("CA", imageOutput('CAOutput',height = "1000px")),
)
)
)
))