getGraph {RedeR} | R Documentation

## Get RedeR graph.

### Description

Method to get and wrap up RedeR graphs into R objects.

### Usage

    getGraph(obj, ...)

### Arguments

`obj` | Object of RedPort Class.
`...` | Additional arguments passed to RedeR application.

### Details

Additional arguments:

status

  Filter options for RedeR graph status. Valid arguments: <'selected'>, <'nonselected'> or <'all'> (default='all').

type

  Filter options for RedeR graph objects. Valid arguments: <'node'>, <'container'> or <'all'> (default='node').

attribs

  Filter options for RedeR graph attributes. Valid arguments: <'plain'>, <'minimal'> or <'all'> (default='plain').

### Value

Returns igraph objects.

### Author(s)

Mauro Castro

### See Also

`addGraph` `RedPort`

### Examples

    # Initialize igraph
    library(igraph)

    ## Not run:

    rdp <- RedPort()
    calld(rdp)

    #ps. first add a graph (e.g. see samples in RedeR or 'addGraph' method)!
    g <- getGraph(rdp)

    ## End(Not run)

[Package RedeR version 1.42.0 Index]