getRgraphvizEdgeNames | R Documentation |
Get Rgraphviz compatitable edge names, where the out- and in-nodes sharing a edge are concatenated by "~".
getRgraphvizEdgeNames(graph)
graph |
A graph object |
A list of names, the order is determined by the edge order.
Jitao David Zhang maito:jitao_david.zhang@roche.com
Rgraphviz package
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.