pathway_report <- reactive({
if (input$pathwayReport == TRUE) {
message('Pathway Plot added to the report')
return(pathway_plot())
}else{
return(NULL)
}
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.