Re: [R] Merging graphs with common nodes

2011-03-25 Thread ssamberkar
Hi Gabor, Thanks a lot for your help! Those graph functions worked smoothly. I had to only change the flag allow.duplicates=TRUE in safer.merge function. I have another issue. Does the write.graph function support the xml or graphml format to write graphs? That way these graphs are easier to imp

Re: [R] Merging graphs with common nodes

2011-03-25 Thread ssamberkar
Hi Gabor, Thanks a lot for your help! Those graph functions worked smoothly. I had to only change the flag allow.duplicates=TRUE in safer.merge function. I have another issue. Does the write.graph function support the xml or graphml format to write graphs? That way these graphs are easier to imp

Re: [R] Merging graphs with common nodes

2011-03-23 Thread Gábor Csárdi
Hi Sandeep. On Wed, Mar 23, 2011 at 1:03 PM, ssamberkar wrote: [...] > > A -- B in G1 > > B -- C in G2 > > so in G3 I would expect > > A -- B > > B -- C > > > Instead I get B -- Z which baffles me. This is because the operations are based on the internal vertex ids and not on the vertex names. Y

[R] Merging graphs with common nodes

2011-03-23 Thread ssamberkar
Hello Everyone! This is my first post to the mailing list so please forgive me if I am a bit deflected from the general format of this mailing list posts. Since I need help in this matter urgently, I would cover up any of my mistakes in posting later. That said, I have a problem in merging 2 gra