The function export_to_shiny_app()
exports the static similarity heatmap to an interactive Shiny web application.
The usage is as follows:
library(simplifyEnrichment) mat = readRDS(system.file("extdata", "random_GO_BP_sim_mat.rds", package = "simplifyEnrichment")) cl = binary_cut(mat) export_to_shiny_app(mat, cl)
The Shiny app is demonstrated in the following image:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.