deleteSelectedNodes {RedeR} | R Documentation

## Delete selected nodes in RedeR graphs.

### Description

Remove all selected nodes from an active RedeR session.

### Usage

    deleteSelectedNodes(obj)

### Arguments

`obj` | Object of RedPort Class.

### Value

Remove graph objects.

### Note

Prior calling this method invoke RedeR application via XML-RPC server (i.e. 'calld').

### Author(s)

Mauro Castro

### See Also

`RedPort`, `selectAllNodes`, `selectNodes`, `deSelectNodes`

### Examples

    # Initialize igraph
    library(igraph)

    edges<-c("n1","n2","n1","n3","n1","n4","n1","n5","n1","n6","n1","n7")

    ## Not run:

      rdp <- RedPort()
      calld(rdp)
      addEdges(rdp, edges)
      selectNodes(rdp,c("n3","n4"))
      deleteSelectedNodes(rdp)
      updateGraph(rdp)

    ## End(Not run)

[Package RedeR version 1.42.0 Index]