getRgraphvizEdgeNames {KEGGgraph} | R Documentation

## Get Rgraphviz compatitable edge names

### Description

Get Rgraphviz compatitable edge names, where the out- and in-nodes sharing a edge are concatenated by "~".

### Usage

    getRgraphvizEdgeNames(graph)

### Arguments

`graph` | A graph object

### Value

A list of names, the order is determined by the edge order.

### Author(s)

Jitao David Zhang maito:jitao_david.zhang@roche.com

### References

Rgraphviz package

### Examples

    tnodes <- c("Hamburg","Dortmund","Bremen", "Paris")
    tedges <- list("Hamburg"=c("Dortmund", "Bremen"),
    "Dortmund"=c("Hamburg"), "Bremen"=c("Hamburg"), "Paris"=c())
    tgraph <- new("graphNEL", nodes = tnodes, edgeL = tedges)
    getRgraphvizEdgeNames(tgraph)

[Package KEGGgraph version 1.40.0 Index]