Learn R Programming

robin (version 1.0.0)

plotComm: 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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab