plotComm {robin} | R Documentation |
plotComm
Description
Graphical interactive representation of the network and its communities.
Usage
plotComm(graph, members)
Arguments
graph |
The output of prepGraph. |
members |
A membership vector of the community structure, the output of membershipCommunities. |
Value
Creates an interactive plot with colorful communities, a D3 JavaScript network graph.
Examples
my_file <- system.file("example/football.gml", package="robin")
graph <- prepGraph(file=my_file, file.format="gml")
members <- membershipCommunities (graph=graph, method="louvain")
plotComm(graph, members)
[Package robin version 1.2.0 Index]