Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Assigning multiple colors to node via attribute

Received: by 10.101.1.15 with SMTP id d15mr1163745ani.13.1292413285989;
        Wed, 15 Dec 2010 03:41:25 -0800 (PST)
X-BeenThere: cytoscape-discuss@googlegroups.com
Received: by 10.100.156.5 with SMTP id d5ls278727ane.1.p; Wed, 15 Dec 2010
 03:41:23 -0800 (PST)
MIME-Version: 1.0
Received: by 10.100.214.20 with SMTP id m20mr16909ang.23.1292413283617; Wed,
 15 Dec 2010 03:41:23 -0800 (PST)
Received: by t35g2000yqj.googlegroups.com with HTTP; Wed, 15 Dec 2010 03:41:23
 -0800 (PST)
Date: Wed, 15 Dec 2010 03:41:23 -0800 (PST)
In-Reply-To: <4CF6CD5B.2010403@sms.ed.ac.uk>
X-IP: 141.53.34.69
References: <4CF67E91.7050106@sms.ed.ac.uk> <CE5F57B8D0FA4B17849176E728042875@magnesium>
 <4CF6CD5B.2010403@sms.ed.ac.uk>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de;
 rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13,gzip(gfe)
Message-ID: <9ec73805-4e34-434a-91db-78f628344fb5@t35g2000yqj.googlegroups.com>
Subject: Re: Assigning multiple colors to node via attribute
From: "gregor.war...@uni-greifswald.de" <gregor.war...@uni-greifswald.de>
To: cytoscape-discuss <cytoscape-discuss@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1

I have written the MultiColoredNodes plugin for Cytoscape 2.8 which
can be downloaded at https://sourceforge.net/projects/multicolor/.

It allows to visualize several node attributes by color
simultaneously. Each node in your network gets a pie chart with the
number of slices equal to the number of attributes you want to
visualize. That is, each slice in the pie chart corresponds to one
node attribute. One attribute always has its slice at the same
position in the pie charts. The color of the slice corresponds to the
value the node has for this attribute. The mapping between attribute
values and corresponding color can be adapted by the user easily.
Attributes for which a node has no value or the value has been
deselected (shall not be shown as a color), get a grey slice.

Using the plugin:
When you have put the jar file into your plugins folder, please click
on <color nodes> in the Tool Bar and then select <attribute based
coloring>. Then select the attributes you want to visualize and
afterwards, define the color mapping as you wish and click <OK>. Now
each node has a pie chart as described above.