-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathui.R
79 lines (73 loc) · 3.03 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
library(shiny)
library(data.table)
library(jsonlite)
library(shinydashboard)
library(seqinr)
library(DECIPHER)
ui <- dashboardPage(
dashboardHeader(title = "Virus ORF Alignment",disable = F),
dashboardSidebar(
fileInput("file", "input virus genome files(.zip)"),
textInput("minorflen","Minimal ORF length (nt) for ORF finder:","50"),
#actionButton(class = "btn-sm", "refresh",tagList(icon("refresh"), "Refresh")),
textInput("evalue","Expectation value (E) threshold for BLAST:","1e-10"),
textInput("raw_name","full name of virus genus","Tomato yellow leaf curl"),
textInput("new_name","short name of virus genus:","TYLC"),
div(style = "padding-left: 15px; padding-top: 70px;",
h4("contact "),
p(class="small"," "),
p(class = "small","Xing Fu Ph.D. "),
p(class = "small","Bioinfomatics Core Facility")
)
),
dashboardBody(
fluidRow(
tabBox(width = 12, height = NULL,
tabPanel("workflow",
h3("Work Flow"),
fluidRow(
img(src="workflow",height="70%",width="60%"),
verbatimTextOutput("preparation")
)
),
tabPanel("orfdatabase",
h3("ORF database"),
# fluidRow(
# box(width = 5,title = "choose interest virus:",
# uiOutput("species")
# ),
fluidRow(
box(width = 5,title = "ORF database:",
DT::dataTableOutput("orfdatabase")
),
box(width = 7, title = "Phylogenetic Tree",solidHeader = TRUE,
collapsible = TRUE, plotOutput("plot1",height = "880px"))
)
# )
),
tabPanel("blast",
h3("BLAST"),
fluidRow(
box(width = 12, title = "ORF Viewer",solidHeader = TRUE,
collapsible = TRUE, plotOutput("plot2",height = "440px")
),
box(width = 12,collapsible = T,
DT::dataTableOutput("blastp")
)
)
),
tabPanel("Hits Alignment & ORF Distribution",
fluidRow(
box(downloadButton("downloadHTML","DownloadHTML")),
box(width = 12, title = "ORF Hits Alignment", collapsible = T,solidHeader = TRUE,htmlOutput("msa"))
),
fluidRow(
h4("Phylo Tree"),
box(downloadButton("downloadPDF","DownloadPDF")),
box(width = 12,title = "Phylogenetic Tree",solidHeader = T,collapsible = T,uiOutput("phylo"))
)
)
)
)
)
)