View source: R/simplify_similarity.R
plot_network | R Documentation |
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
)
clusters |
result from |
src |
source property (e.g. "GO_CC") |
show_clusters |
boolean value |
show_text |
boolean value |
topn_edges |
topN edges to retain per geneset (typically 5~8) |
clr_default |
default color for the network, used only when |
node_color_palette |
function with 1 parameter, N, that returns N colors (default is goat function |
a ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.