-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
28 lines (25 loc) · 847 Bytes
/
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
library(visNetwork)
library(shinyjs)
ui <- fluidPage(
titlePanel(title=div(img(src="BSC_logo.png", height = 80, width = 120), HTML("<i>loopnet</i> ― Protein interactomes at chromatin loops"))),
sidebarLayout(
sidebarPanel(
h2("Input files"),
fileInput("file1", ""),
actionButton("refresh", "Refresh session"),
br(),
h2("Node-Level Statistics"),
radioButtons("node_stats", "",
choices = c("Degree centrality" = "degree_centrality",
"Page Rank" = "page_rank",
"Betweenness centrality" = "betweenness_centrality",
"None" = "none"), selected = "none"),
),
mainPanel(
textOutput("text"),
visNetworkOutput("network"),
br(),
tableOutput("ranked_nodes")
)
)
)