View source: R/visualize_network.R
visualize_network | R Documentation |
This function visualizes the integrated results with an interactive network
visualize_network( nodes, edges, cluster_df = NULL, layout = "layout_with_fr", seed = 123, options_by = "group" )
nodes |
network nodes |
edges |
network edges |
cluster_df |
(optional) network clusters dataframe generated by the kinograte function |
layout |
layout option from igraph. default = "layout_with_fr". See full list |
seed |
(optional) set seed |
options_by |
(optional) set dropdown menu, "group" or "cluster". Set NULL to remove dropdown menu |
visNetwork object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.