export_to_shiny_app | R Documentation |
Interactively visualize the similarity heatmap
export_to_shiny_app(mat, cl = binary_cut(mat))
mat |
A similarity matrix. |
cl |
Cluster labels inferred from the similarity matrix, e.g. from |
A shiny application.
if(interactive()) {
mat = readRDS(system.file("extdata", "random_GO_BP_sim_mat.rds",
package = "simplifyEnrichment"))
cl = binary_cut(mat)
export_to_shiny_app(mat, cl)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.