plot_clusters: Plot graph with a list of vertex lists using ggnet2

Description Usage Arguments Author(s)

Description

Plot graph with a list of vertex lists using ggnet2

Usage

1
plot_clusters(Lc, G, set.v = "Set1", set.e = "grey50", ...)

Arguments

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.

Author(s)

Christopher Nobles, Ph.D.


cnobles/spraphal documentation built on May 28, 2019, 7:35 p.m.