Re: Nodes as pie charts built from multiple attributes

591 views
Skip to first unread message

Gregor Warsow

unread,
Jul 24, 2012, 9:05:01 AM7/24/12
to cytoscape...@googlegroups.com
Hi Martin,

I have adapted my MultiColoredNodes Plugin to meet your needs.
Please select the last option (flexible slice width coloring; available in plugin version >= 2.5) in the menu after starting the plugin.
Then, select the node attributes you wish to be represented on your nodes.
What the plugin then does is to put a pie chart on each node.
The degree of each slice represents to relative amount of the represented attribute value compared to the sum of all attributes you have chosen.

If any question arises, please do not hesitate to contact me.


Kind regards,

Gregor

Am Mittwoch, 18. Juli 2012 16:15:28 UTC+2 schrieb Martin:
Hi there,

I've thoroughly searched the internet and found several tools related to this issue, but none really solve my problem. I hope anyone out there can help me out.

For each node in my network, I have 5 different attributes representing abundance data of that particular node (i.e. biological unit) in 5 different environmental settings. I would like to superimpose pie charts onto the nodes with each wegde representing an attribute and the wedge size the relative abundance (i.e. as percentage of the whole pie). The 5 wedges should have 5 colors and the whole pie should adjust to the different sizes of the nodes.

Among others, I tried the plugins MultiColoredNodes, GoogleChartFunctions and nodeCharts. Whereas the first one didn't do what I am looking for, I could get the other two tools running. I have the feeling that my problem should be solvable, but I just can't figure out how.

Any help would be greatly appreciate.

Thanks,
Martin

Martin Hartmann

unread,
Jul 24, 2012, 10:46:55 AM7/24/12
to cytoscape...@googlegroups.com
Dear Gregor

Thanks so much for your effort. That works great. I need to adjust the colors of the slices. Is there a way to do this?

Thanks again for the big help.
Martin


--
You received this message because you are subscribed to the Google Groups "cytoscape-helpdesk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cytoscape-helpdesk/-/04JsTVPMug8J.
To post to this group, send email to cytoscape...@googlegroups.com.
To unsubscribe from this group, send email to cytoscape-helpd...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cytoscape-helpdesk?hl=en.

Gregor Warsow

unread,
Jul 25, 2012, 7:53:07 AM7/25/12
to cytoscape...@googlegroups.com
Hi Martin,

the plugin now also allows to re-define the colors in the flexible slice width mode. Please download MultiColoredNodes Plugin, version >= 2.510 from SourceForge:
https://sourceforge.net/projects/multicolor/


Bests,

Gregor


Martin Hartmann

unread,
Jul 26, 2012, 2:58:05 AM7/26/12
to cytoscape...@googlegroups.com
Dear Gregor

Thanks a lot. I will try this immediately.

Best wishes,
Martin


From: Gregor Warsow <gregor...@googlemail.com>
Reply-To: <cytoscape...@googlegroups.com>
Date: Mittwoch, 25. Juli 2012 13:53
To: <cytoscape...@googlegroups.com>
Subject: [cytoscape-helpdesk] Re: Nodes as pie charts built from multiple attributes

--
You received this message because you are subscribed to the Google Groups "cytoscape-helpdesk" group.

Gregor Warsow

unread,
Mar 25, 2013, 7:23:40 AM3/25/13
to cytoscape...@googlegroups.com, har...@gmail.com
To get what you want using MultiColoredNodes you need to do the following things:

- make sure to have the most recent version installed (you will always find the latest version here: https://sourceforge.net/projects/multicolor/
- import the node attributes data as FLOATING TYPE data (not integer)
- start MulticoloredNodes plugin and use <flexible slice width coloring>
- select the 4 attributes representing GA, NY, CH and CA
- redefine color setting if needed

Does it work as expected?


Gregor



Am Sonntag, 24. März 2013 19:13:46 UTC+1 schrieb Tauqeer Alam:

Hi All

I have a quick question about making pie on the nodes using cytoscape. I am using MultiColoredNodes to do this. I recently heard about this package so I am not quite familiar with the every option available in there. I am trying to make a genetic network where each node represents a haplotype and size of the node is proportional to the number of that particular haplotype found in the population. The haplotypes could be from any of the four places (GA, NY, CH, CA) and I want to represent them with different colors in the pie (node). The slice of the pie should be proportional to the number of coming from each place.

I have been successful in making a network except that the pies are not proportional the actual size. All nodes are of equal size. I do not know the file format of giving size to the pie. Please help.

Tauqeer

Reply all
Reply to author
Forward
0 new messages