GraphSpace {RGraphSpace}R Documentation

Constructor of GraphSpace-class objects

Description

GraphSpace is a constructor of GraphSpace-class objects.

Usage

GraphSpace(g, layout = NULL, mar = 0.075, verbose = TRUE)

Arguments

g

An igraph object. It must include coordinates and names assigned to x, y, and name vertex attributes.

layout

an optional numeric matrix with two columns for x and y coordinates.

mar

A single numeric value (in [0,1]) indicating the size of the outer margins as a fraction of the graph space.

verbose

A single logical value specifying to display detailed messages (when verbose=TRUE) or not (when verbose=FALSE).

Value

A GraphSpace class object.

Author(s)

Sysbiolab.

See Also

plotGraphSpace

Examples

# Load a demo igraph
data('gtoy1', package = 'RGraphSpace')

gs <- GraphSpace(gtoy1)


[Package RGraphSpace version 1.0.5 Index]