Re: [R] network package in R

From: Weiwei Shi <>
Date: Sat, 28 May 2011 12:03:30 -0500

Actually I have another question relating to this,

I have about 300 nodes (I can reduced them somehow if the network is too messy) and the similarity matrix between any two nodes. The size and color of nodes have some meanings and I tried to use the layout to show their "distance".

Here is the question:

for example, there are nodes A, B and C. There is a threshold to define if there is a link or not between nodes. Let's assume there are links between A and B; and A and C. There is no link between B and C. However, when there are more nodes added, the physical distance on the plot between B and C is shorter than some other linked pair, for example, C and D. I was suggested it was due to the layout algorithm: because A-B and A-C links, so B and C were pulled nearer. I am not sure if there is a better solution or not. I mean, physically B and C look nearer than C-D, although the latter has a link while B and C do not.

I hope I explained my question clear this time.


On Sat, May 28, 2011 at 11:51 AM, Weiwei Shi <> wrote:

> Thank you, Steve.
> Initially I tried to choose b/w cytoscape and pajek, among other bunch of
> software. I did not realize the existence of RCytoscape; otherwise, I would
> probably use that one.
> Weiwei
> On Sat, May 28, 2011 at 9:25 AM, Steve Lianoglou <
>> wrote:
>> Hi,
>> On Fri, May 27, 2011 at 5:32 PM, Weiwei Shi <> wrote:
>> > Hi there,
>> >
>> > I need a network builder and it can change the node size and color; I am
>> not
>> > sure if network package in R can do this or not. The other functions I
>> > wanted have been found in that package.
>> >
>> > BTW, if there is another package in R relating to this, please suggest
>> too.
>> I'm not actually sure what you're looking for, but from trying to
>> piece together the other emails in this thread maybe you are looking
>> for a way to control graph/network layout in some GUI form?
>> There is a bioconductor package called RCytoscape that can "drive"
>> cytoscape from R, allowing you to draw a network you have loaded up in
>> your R session and tweak different properties of nodes, edges, etc:
>> Maybe it can help you? I'm not sure if this is what you're asking for,
>> though, so I could be way off the mark.
>> HTH,
>> -steve
>> --
>> Steve Lianoglou
>> Graduate Student: Computational Systems Biology
>> | Memorial Sloan-Kettering Cancer Center
>> | Weill Medical College of Cornell University
>> Contact Info:
> --
> Weiwei Shi, Ph.D
> Research Scientist
> "Did you always know?"
> "No, I did not. But I believed..."
> ---Matrix III

Weiwei Shi, Ph.D
Research Scientist

"Did you always know?"
"No, I did not. But I believed..."
---Matrix III

	[[alternative HTML version deleted]]

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 28 May 2011 - 17:06:42 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 28 May 2011 - 18:40:11 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive