plot geneset distance matrix as a network
plot_network(
clusters,
src,
show_clusters = TRUE,
show_text = FALSE,
topn_edges = 5,
clr_default = "#29b6f6",
node_color_palette = goat::gg_color_hue
)
a ggplot2 object
result from cluster_genesets
source property (e.g. "GO_CC")
boolean value
boolean value
topN edges to retain per geneset (typically 5~8)
default color for the network, used only when show_clusters
is set to FALSE
function with 1 parameter, N, that returns N colors (default is goat function gg_color_hue
)