Description Usage Arguments Author(s)
Plot graph with a list of vertex lists using ggnet2
1 | plot_clusters(Lc, G, set.v = "Set1", set.e = "grey50", ...)
|
Lc |
list of character vectors holding information on vertex ids for different clusters or groups of vertices. Each object in the list will be given a different color. Additionally, names of the list will be used in the legend, unless no names are supplied. If a vertex in named on more than one list, it will be colored black and pushed into an intersecting group. |
G |
igraph object from which vertices in Lc will be used to create a subgraph. |
set.v |
character, Set name to be passed on to RColorBrewer::brewer.pal to select color palette for vertices. If name supplied is not in brewer.pal.info, then the name will be treated as a color and passed as a constant color for vertices. |
set.e |
character, Set name to be passed on to RColorBrewer::brewer.pal to select color palette for edges. If name supplied is not in brewer.pal.info, then the name will be treated as a color and passed as a constant color for edges. |
... |
arguments to be passed into ggnet2. |
Christopher Nobles, Ph.D.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.