Shiny R pannel
Hello everyone, I'm a newbie in Rshiny, how do I create a dynamic panel in the sidebar? I do this but it doesn't work
library(shiny)
# Define UI for random distribution application
shinyUI(fluidPage(theme="style.css",
# Application title
titlePanel("RNAseq app R "),
sidebarLayout(
sidebarPanel(
fileInput('file1', 'Choose file to upload',
accept = c(
'text/csv',
'text/comma-separated-values',
'text/tab-separated-values',
'text/plain',
'.csv',
'.tsv'
)
),
tags$hr(),
navlistPanel(
tabPanel("Quality Control"),
tabPanel("Trimming"),
tabPanel("Alignement")
)
)
,
mainPanel(
)
)))
server
library(shiny)
shinyServer(function(input, output) {
})
How can I add also a select to each navelement?
• 1,120 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Hello amroumouna!
We believe that this post does not fit the main topic of this site.
This is pure programming, even though the context might be Bioinformatics. Its better suited on StackOverflow plus your question is not clear as well. Check
conditionalPanelFor this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!