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
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
|
+---------------------------------------------------------------------
--
----------------+
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