r paste('#', basename(rawFileList[[i]]), '{data-navmenu="Raw Filename"}')
r shiny::tags$h2(basename(rawFileList[[i]]), style="text-align:center")
safeggplotly <- purrr::safely(plotly::ggplotly)
temp_ggplotly <- safeggplotly(TIC_ms1[[i]]) if (is.null(temp_ggplotly[["result"]]) == FALSE) { suppressMessages( suppressWarnings( plotly::ggplotly(TIC_ms1[[i]]) %>% plotly::style( line = list( width = 1, color = "black" ) ) %>% plotly::config( displaylogo = FALSE, toImageButtonOptions = list( format = "svg", width = 800, height = 500 ) ) ) ) } else { pander::pander("Error while creating plotly graph") }
temp_ggplotly <- safeggplotly(TIC_ms2[[i]]) if (is.null(temp_ggplotly[["result"]]) == FALSE) { suppressMessages( suppressWarnings( plotly::ggplotly(TIC_ms2[[i]]) %>% plotly::style( line = list( width = 1, color = "black" ) ) %>% plotly::config( displaylogo = FALSE, toImageButtonOptions = list( format = "svg", width = 800, height = 500 ) ) ) ) } else { pander::pander("Error while creating plotly graph") }
temp_ggplotly <- safeggplotly(BPC_ms1[[i]]) if (is.null(temp_ggplotly[["result"]]) == FALSE) { suppressMessages( suppressWarnings( plotly::ggplotly(BPC_ms1[[i]]) %>% plotly::style( line = list( width = 1, color = "black" ) ) %>% plotly::config( displaylogo = FALSE, toImageButtonOptions = list( format = "svg", width = 800, height = 500 ) ) ) ) } else { pander::pander("Error while creating plotly graph") }
temp_ggplotly <- safeggplotly(BPC_ms2[[i]]) if (is.null(temp_ggplotly[["result"]]) == FALSE) { suppressMessages( suppressWarnings( plotly::ggplotly(BPC_ms2[[i]]) %>% plotly::style( line = list( width = 1, color = "black" ) ) %>% plotly::config( displaylogo = FALSE, toImageButtonOptions = list( format = "svg", width = 800, height = 500 ) ) ) ) } else { pander::pander("Error while creating plotly graph") }
temp_ggplotly <- safeggplotly(injectionTime_ms1_plot[[i]]) if (is.null(temp_ggplotly[["result"]]) == FALSE) { suppressMessages( suppressWarnings( plotly::ggplotly(injectionTime_ms1_plot[[i]]) %>% plotly::style( marker = list( size = 4, color = "black" ) ) %>% plotly::config( displaylogo = FALSE, toImageButtonOptions = list( format = "svg", width = 800, height = 500 ) ) ) ) } else { pander::pander("Error while creating plotly graph") }
temp_ggplotly <- safeggplotly(injectionTime_ms2_plot[[i]]) if (is.null(temp_ggplotly[["result"]]) == FALSE) { suppressWarnings( plotly::ggplotly(injectionTime_ms2_plot[[i]]) %>% plotly::style( marker = list( size = 4, color = "black" ) ) %>% plotly::config( displaylogo = FALSE, toImageButtonOptions = list( format = "svg", width = 800, height = 500 ) ) ) } else { pander::pander("Error while creating plotly graph") }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.