This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How To Color The Species Names And Gene Names With Cytoscape

I have a table having two colums like this Drosophila SRY human p53 mouse BRCA2

when i load it in cytoscape usin import network from table ,it loads successfully and give me the network but i want to colour the species name and Gene name differently,how to go about it?

cytoscape

1 answer

You could create an attribute text file as follows:

MyColor
Drosophila = species
SRY = gene
human = species
p53 = gene
mouse = species
BRCA2 = gene

First open your two column table in Cytoscape as you described. Then use File > Import >Node Attributes to import the above file. In the VizMapper tab, select Node Color and choose "MyColor" then click on each of the Mapping Type (i.e. gene and species) and select the colour you want for the species name and the gene name.

Log in to answer this question.