-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathui.R
56 lines (55 loc) · 1.43 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
#==============================================================================
# This is the ui code for the tree subset shiny app
#
# Tyler Bradley
#==============================================================================
shinyUI(
tagList(
useShinyalert(),
useShinyjs(),
navbarPage(
title = "Phylogenetic Tree Subsetting",
tabPanel(
title = "Explore Tree",
fluidRow(
class = "inputs",
column(
6,
selectInput(
inputId = "file_type",
label = "Select Tree File Type:",
choices = c(
"Tree" = "tree",
"Beast" = "beast",
# "CodeML" = "codeml",
"CodeML mlc" = "mlc",
# "HYPHY" = "hyphy",
"jplace" = "jplace",
"MrBayes" = "mrbayes",
"NHX" = "nhx",
"rst (CODEML/BASEML)" = "rst",
"phylip" = "phylip",
# "r8s" = "r8s",
"RAxML" = "raxml"
),
selected = "tree"
)
),
column(
6,
fileInput(
inputId = "upload_tree",
label = "Select Tree File:"
)
)
),
uiOutput("select_node_render"),
fluidRow(
uiOutput(
"subtree_render"
)
)
)
)
)
)