Coloring nodes based on names

43 views
Skip to first unread message

Pranavathiyani G

unread,
Apr 3, 2019, 12:15:43 AM4/3/19
to cytoscape-helpdesk
Hello everyone,

I have a large edge list for thousands of nodes. I wish to color particular nodes (the node names are with '_a'), how can I select only those nodes which contain the sub-string? So that I can bypass the color style.

An example is given below: 1_a, 2_a.... 1000_a are the nodes which i wish to change the colors. Is there any way to select particularly those nodes?

Node/edge list eg:
1_a    2
2_a    3
.
.
.
1000_a   457

Any suggestions/help on this?
Thank you.

Regards,
Pranavathiyani

Alexander Pico

unread,
Apr 3, 2019, 12:56:39 AM4/3/19
to cytoscape...@googlegroups.com
Sure. There are a couple ways. In the search field on the upper-right your can type *_a and those nodes should be selected. You can also use the Select tab in the Control Panel and start a column filter and choose name then use contains _a. 

 - Alex
--
You received this message because you are subscribed to the Google Groups "cytoscape-helpdesk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpd...@googlegroups.com.
To post to this group, send email to cytoscape...@googlegroups.com.
Visit this group at https://groups.google.com/group/cytoscape-helpdesk.
To view this discussion on the web visit https://groups.google.com/d/msgid/cytoscape-helpdesk/a2b2160c-9e2f-4297-a506-c0a809a8ae45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Pranavathiyani G

unread,
Apr 3, 2019, 1:46:39 AM4/3/19
to cytoscape...@googlegroups.com
Thanks Alex. 

You received this message because you are subscribed to a topic in the Google Groups "cytoscape-helpdesk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cytoscape-helpdesk/F2pckZ_fdX4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cytoscape-helpd...@googlegroups.com.

To post to this group, send email to cytoscape...@googlegroups.com.
Visit this group at https://groups.google.com/group/cytoscape-helpdesk.
Reply all
Reply to author
Forward
0 new messages