Importing graph into Cytoscape from R igraph package

2,158 views
Skip to first unread message

Madhurima B

unread,
Mar 23, 2011, 2:06:50 AM3/23/11
to cytoscap...@googlegroups.com
Hello All,

I have used igraph pachake of R to form few graphs. They have edge attributes like width, colour and node attributes like label. I want to import these graphs to Cytoscape for further processing.
I have tried exporting the graphs from R in gml and graphml formats. But when I import them in Cytoscape, the edge attributes are not seen. The gml format seems to support label of the nodes but not the edge attributes. 

Can someone please help me in this regard.
Any pointers would help.

Regards,
Madhurima

Jan Bot

unread,
Mar 23, 2011, 3:30:52 AM3/23/11
to cytoscap...@googlegroups.com, Madhurima B

Hi,

have you taken a look at the RCytoscape package?

Cheers,

Jan
--
You received this message because you are subscribed to the Google Groups "cytoscape-discuss" group.
To post to this group, send email to cytoscap...@googlegroups.com.
To unsubscribe from this group, send email to cytoscape-disc...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cytoscape-discuss?hl=en.

Paul Shannon

unread,
Mar 23, 2011, 8:35:36 AM3/23/11
to cytoscap...@googlegroups.com
RCytoscape does indeed aim to help out with tasks just like this.

Jan -- whose CytoscapeRPC plugin is the essential for RCytoscape -- pointed you towards the Bioconductor release version of RCytoscape. In the intervening six months, we have added a ton of new commands, uncountable unit tests, a few bug fixes, more examples and some 'cookbook recipes'. All of which will be officially released in mid-April -- Bioconductor has a pretty strict 6-month cycle. I can give you a pre-release copy if that would help.

We are eager to see RCytoscape put to good use. Don't hesitate to write if you encounter any difficulty.

- Paul

Keiichiro Ono

unread,
Mar 30, 2011, 4:01:50 PM3/30/11
to cytoscap...@googlegroups.com, Madhurima B
There are two ways to import data to Cytoscape from R.

1. RCytoscape - provides direct access to Cytoscape data models from R console.

2. GraphML reader - igraph has an option to export graph topology and
its attributes in GraphML format. You can import this file by using
this plugin:

http://code.google.com/p/graphmlreader/

Kei

2011/3/22 Madhurima B <how.man...@gmail.com>:

> --
> You received this message because you are subscribed to the Google Groups
> "cytoscape-discuss" group.
> To post to this group, send email to cytoscap...@googlegroups.com.
> To unsubscribe from this group, send email to
> cytoscape-disc...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cytoscape-discuss?hl=en.
>

--
Keiichiro Ono    http://www.keiono.net/

Reply all
Reply to author
Forward
0 new messages