How to plot the graph object
2
0
Entering edit mode
Yilin Liu ▴ 40
@yilin-liu-1232
Last seen 9.6 years ago
It is said that the Rgraphviz package does not work under Windows environment. Then how to plot the graph in R with the use of graph package.
graph Rgraphviz graph Rgraphviz • 924 views
ADD COMMENT
0
Entering edit mode
@sean-davis-490
Last seen 3 months ago
United States
On May 6, 2005, at 6:43 AM, Yilin Liu wrote: > It is said that the Rgraphviz package does not work under Windows > environment. > Then how to plot the graph in R with the use of graph package. > The Rgraphviz package depends on the graphviz libraries, which I think is the issue and cannot be resolved in Windows. The whole topic is covered pretty extensively in the bioconductor archive thread starting here: http://files.protsuggest.org/biocond/html/3390.html Sean
ADD COMMENT
0
Entering edit mode
Hi, On Windows, you can install the windows version of graphviz (available at www.graphviz.org) and then serialze your plots, from R to GXL (using tools from the graph package - toGXL or dumpGXL), and then open the resultant files with graphviz. If so inclined you can (I have heard) suitably automate the process. Robert On May 6, 2005, at 3:51 AM, Sean Davis wrote: > > On May 6, 2005, at 6:43 AM, Yilin Liu wrote: > >> It is said that the Rgraphviz package does not work under Windows >> environment. >> Then how to plot the graph in R with the use of graph package. >> > > The Rgraphviz package depends on the graphviz libraries, which I think > is the issue and cannot be resolved in Windows. The whole topic is > covered pretty extensively in the bioconductor archive thread starting > here: > > http://files.protsuggest.org/biocond/html/3390.html > > Sean > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > > +--------------------------------------------------------------------- -- ----------------+ | Robert Gentleman phone: (206) 667-7700 | | Head, Program in Computational Biology fax: (206) 667-1319 | | Division of Public Health Sciences office: M2-B865 | | Fred Hutchinson Cancer Research Center | | email: rgentlem@fhcrc.org | +--------------------------------------------------------------------- -- ----------------+
ADD REPLY
0
Entering edit mode
@dirk-koschuetzki-1241
Last seen 9.6 years ago
Hello, On Fri, 06 May 2005 12:43:05 +0200, Yilin Liu <y.liu@mdx.ac.uk> wrote: > It is said that the Rgraphviz package does not work under Windows > environment. > Then how to plot the graph in R with the use of graph package. A different way is possible via the SNA package (from cran): require(graph) require(sna) require(Rgraphviz) data(biocRepos) ## Does not work on windows... (does it? untested!) plot(biocRepos) ## Nice layouts with SNA package: gplot(as(biocRepos,"matrix"), mode="kamadakawai") gplot3d(as(biocRepos,"matrix"), mode="kamadakawai") There are several layout argorithms ("modes") available. Cheers, Dirk
ADD COMMENT

Login before adding your answer.

Traffic: 461 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6