Visualize the network of interactions, created from running CCM on community time series as part of the dynamic stability analysis
plot_network(ccm_links, layout = "circle", palette = NULL, palette_option = "plasma", existing_graph = NULL)
ccm_links | a data.frame containing the inferred interactions from CCM,
it should have a |
---|---|
layout | The type of layout to create. |
palette | a data.frame with the colors for each vertex; if NULL, one
will be created using |
palette_option | the color palette to use (see |
existing_graph | a data.frame specifying the layout of nodes (e.g. from a previous call to plot_network); if NULL, one will be created |
a list with three elements:
plot | |
the ggraph object to plot or save | |
palette | |
the palette (for a future | |
plot_network | call) |
graph | |
the graph (for a future | |
plot_network | call) |