[BioC] Rgraphviz: multiple edges between nodes

Hervé Pagès hpages at fhcrc.org
Tue Sep 15 00:13:26 CEST 2009


Hi Rainer,

I've never used it and I don't know if it handles multiple edges between
a pair of nodes but AFAIK the igraph package (from CRAN) is an
alternative to Rgraphviz that you might want to try. Since this is not
a Bioconductor package, any questions about it should go to the R-help
mailing list or directly to the maintainer of the package.

Cheers,
H.


Rainer Machne wrote:
> Hi,
> 
> Is it correct that Rgraphviz - unlike graphviz itself - currently can
> not handle multiple edges between a pair of nodes (example given below)?
> 
> Are there any plans to allow for multiple edges in future versions, or
> it already possible with other commands then the ones used below?
> 
> Rainer
> 
> 
> g <- new("graphNEL", edgemode="directed")
> g <- addNode(c("a", "b"), g)
> g <- addEdge("a", "b", g)
> g <- addEdge("a", "b", g)
> 
> Warning message:
> In .local(from, to, graph) :
>   The following edges already exist and will be replaced:
> a|b
> 
> 
> This is however possible in graphviz itself:
> 
> file: multiedge.dot
> 
> digraph {
> a->b;
> a->b;
> }
> 
> and calling dot on commandline ("dot multiedge.dot -Tpng -o
> multiedge.png") produces the intended output wiht multiple edges.
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor

-- 
Hervé Pagès

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M2-B876
P.O. Box 19024
Seattle, WA 98109-1024

E-mail: hpages at fhcrc.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319



More information about the Bioconductor mailing list