UI & module to generate Cnetplots.
Examples
library(shiny)
# get DESeqResults object
data(res_dex, package='carnation')
obj <- reactive({ res })
config <- reactiveVal(get_config())
# run simple shiny app with plot
if(interactive()){
shinyApp(
ui = fluidPage(
sidebarPanel(cnetPlotUI('p', 'sidebar')),
mainPanel(cnetPlotUI('p', 'main'))
),
server = function(input, output, session){
cnetPlotServer('p', obj, config)
}
)
}