View source: R/ExplodeLayoutBasic.R
get_nodelist_for_plotting | R Documentation |
Format a nodelist for plotting using the new coordinates found by ExplodeLayout
get_nodelist_for_plotting(nodelist, new_coordinates)
nodelist |
A dataframe including at least 3 columns: Label, Cluster, Entity. Entity is either 1 or 2, indicating which part of the bipartite network a node is in. |
new_coordinates |
A dataframe including at least 3 columns: Label, newX, newY. |
A dataframe including 5 columns: Label, X, Y, Color, baseShape.
exploded_coords=explode_coordinates(example_nodelist,radius=1.2) plotting_nodelist=get_nodelist_for_plotting(example_nodelist,exploded_coords)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.