Commit 30aa79da authored by Midoux Cedric's avatar Midoux Cedric
Browse files

sidebarMenu + items

No related merge requests found
Showing with 28 additions and 24 deletions
+28 -24
...@@ -15,31 +15,35 @@ source("panels/Help-ui.R", local = TRUE) ...@@ -15,31 +15,35 @@ source("panels/Help-ui.R", local = TRUE)
shinyUI(dashboardPage( shinyUI(dashboardPage(
dashboardHeader(title = "Easy16S"), dashboardHeader(title = "Easy16S"),
dashboardSidebar(Sidebar), dashboardSidebar(
sidebarMenu(
menuItem("Data", tabName = "Data", icon = icon("dashboard")),
menuItem("Summary", tabName = "Summary", icon = icon("dashboard")),
menuItem("Barplot", tabName = "barplot", icon = icon("dashboard")),
menuItem("Heatmap", tabName = "heatmap", icon = icon("dashboard")),
menuItem("Rarefaction curves", tabName = "rarefactionCurve", icon = icon("dashboard")),
menuItem(HTML("α-diversity"), tabName = "richnessA", icon = icon("dashboard")),
menuItem(HTML("β-diversity"), tabName = "richnessB", icon = icon("dashboard")),
menuItem("MultiDimensional Scaling", tabName = "mds", icon = icon("dashboard")),
menuItem("PCA", tabName = "pca", icon = icon("dashboard")),
menuItem("Phylogenetic tree", tabName = "tree", icon = icon("dashboard")),
menuItem("Clustering", tabName = "cluster", icon = icon("dashboard")),
menuItem("Help", tabName = "Help", icon = icon("dashboard"))
)),
dashboardBody( dashboardBody(
tabsetPanel( tabItems(
tabPanel("Summary", tabItem(tabName = "Data", Sidebar),
Summary), tabItem(tabName = "Summary", Summary),
tabPanel("Barplot", tabItem(tabName = "barplot", barplot),
barplot), tabItem(tabName = "heatmap", heatmap),
tabPanel("Heatmap", tabItem(tabName = "rarefactionCurve", rarefactionCurve),
heatmap), tabItem(tabName = "richnessA", richnessA),
tabPanel("Rarefaction curves", tabItem(tabName = "richnessB", richnessB),
rarefactionCurve), tabItem(tabName = "mds", mds),
tabPanel(HTML("α-diversity"), tabItem(tabName = "pca", pca),
richnessA), tabItem(tabName = "tree", tree),
tabPanel(HTML("β-diversity"), tabItem(tabName = "cluster", cluster),
richnessB), tabItem(tabName = "Help", Help)
tabPanel("MultiDimensional Scaling",
mds),
tabPanel("PCA",
pca),
tabPanel("Phylogenetic tree",
tree),
tabPanel("Clustering",
cluster),
tabPanel("Help",
Help)
) )
) )
) )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment