Learn R Programming

SeqNet (version 1.1.3)

get_layout_for_modules: Internal function used to create coordinates based on a set of modules

Description

Internal function used to create coordinates based on a set of modules

Usage

get_layout_for_modules(g, modules)

Arguments

g

An 'igraph' object

modules

A list containing sets of indicies indicating the nodes in g that belong to each module

Value

A matrix of coordinates for plotting