plot_reso: Plot a graph with vertices colored by a group variable

Description Usage Arguments Examples

View source: R/utils.R

Description

Plot a graph with vertices colored by a group variable

Usage

1

Arguments

g

an igraph graph

group

vector of vertices group values

Examples

1
2
3
4
5
## Random graph
g <- igraph::sample_gnp(14, 0.35)
plot(g)
res <- reso(g)
plot_reso(g, res)

juba/reso documentation built on May 18, 2017, 11:54 a.m.