Interactively visualize the similarity heatmap
Usage
export_to_shiny_app(mat, cl = binary_cut(mat))
Arguments
- mat
A similarity matrix.
- cl
Cluster labels inferred from the similarity matrix, e.g. from
cluster_terms()
orbinary_cut()
.
Examples
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)
}