Build a module dependency graph

Description

This is still experimental, but this will show the hierarchical structure of parent and children modules and return a list with an igraph object and an igraph communities object, showing the groups. Currently only tested with relatively simple structures.

Usage

1
2
3
4
5
6
7
moduleGraph(sim, plot, ...)

## S4 method for signature 'simList,logical'
moduleGraph(sim, plot, ...)

## S4 method for signature 'simList,missing'
moduleGraph(sim, plot, ...)

Arguments

sim

A simList object.

plot

Logical indicating whether the edgelist (and subsequent graph) will be used for plotting. If TRUE, duplicated rows (i.e., multiple object dependencies between modules) are removed so that only a single arrow is drawn connecting the modules. Default is FALSE.

...

Arguments passed to Plot

Value

A list with 2 elements, an igraph object and an igraph communities object.

# @importFrom igraph graph_from_data_frame cluster_optimal edges # already with import igraph

Author(s)

Eliot McIntire

See Also

moduleDiagram

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.