side_plot | R Documentation |
Plot two decoration graphs side-by-side identifying common nodes and common edges. This function is called by the function plot_compar
.
side_plot(
grph,
dir,
nd.var,
focus = "nodes",
nd.color = c("orange", "red"),
nd.size = c(0.5, 1),
ed.color = c("orange", "red"),
ed.width = c(1, 2),
lbl.size = 0.5
)
grph |
list of two or more 'igraph' graphs created with the |
dir |
Working directory which contains the imgs, nodes, edges dataframes and the decoration images. |
nd.var |
Field of nodes on which the comparison will be done. |
focus |
Focus on nodes or on edges, by default |
nd.color, nd.size, ed.color, ed.width |
Graphical parameters for the nodes and edges. The different nodes/edges will be displayed with the first values of the vectors (eg, "orange") while the common nodes/edges will be displayed with the second values of the vectors (eg, "red"). |
lbl.size |
size of the labels |
No return value, group images side-by-side.
plot_compar
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.