Description Usage Arguments Examples
Generate visnetwork
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
network_df |
dataframe to turn into a network |
threshold_field |
field to be used to prune the network |
threshold_value |
value to be used in the 'threshold_field' to prune the network |
size_field |
field to use as the network size |
tooltip_field |
field to use as hover text on the nodes |
hierarchical |
should the nodes be laid out in a heirachical way |
igraph_init |
use igraph package to initialise positions - faster but uglier |
seed |
set the random seed for layout consistency |
smooth_edges |
should edges be rendered as bezier curves - slower but results in nicer layout. |
... |
additional arguments passed to the call to visNetwork |
1 2 3 4 | gen_visnetwork(
network_df = taxonomy_df_lower_threshold,
hierarchical = TRUE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.