plotComm: plotComm

View source: R/ROBIN.R

plotCommR 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)

robin documentation built on May 17, 2022, 1:07 a.m.