Regarding GO data

16 views
Skip to first unread message

gulia...@gmail.com

unread,
Oct 21, 2018, 2:28:06 PM10/21/18
to cytoscape-helpdesk
Hi, I am Citu and I have the annotation data for my nodes like molecular function,biological process and cellular compartment. I want to import these also in my network externally to the node but I am not able do it. Can I do this using Cytoscape?

Thanks










Alex Pico

unread,
Oct 21, 2018, 2:33:21 PM10/21/18
to cytoscape...@googlegroups.com
Yes, of course. You did not describe your data file, but assuming it’s something like this…

Gene GO term
------- -------------
ABC1 kinase activity
ABC2 signaling pathway


Then you can use the table import option to load the terms as annotations mapped via a common column of symbols (like above) or identifiers. A particular column needs to be in common between your data file and your network nodes to serve as a mapping key.

You can load one term per column (like above) or a list of terms per column. Those options are all exposed during the table import dialog.

See this chapter of the manual for details:

 - Alex



On Oct 20, 2018, at 4:26 PM, gulia...@gmail.com wrote:

Hi, I am Citu and I have the annotation data for my nodes like molecular function,biological process and cellular compartment. I want to import these also in my network externally to the node but I am not able do it. Can I do this using Cytoscape?

Thanks










--
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/fc0ee539-399d-44e8-926b-bf31f6d3f119%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Citu

unread,
Oct 21, 2018, 2:41:17 PM10/21/18
to cytoscape...@googlegroups.com
Thanks
My file is in excel format like ist column is the node and subsequent columns are GO data like cellular component , molecular function.  I am able to import the table in cytoscape but do not know how to write these function adjacent to the node. 
Please help me. 
Thanks

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/Uw8sCPDaf4c/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.

Alex Pico

unread,
Oct 21, 2018, 3:41:10 PM10/21/18
to cytoscape...@googlegroups.com
So, you were able to load the annotations into Cytoscape? You can see your annotations in the Table Panel in Cytoscape?  Now your question is how to display the annotations as text placed next to the nodes in the network diagram?

There’s an app for that!


You will need to add a new “string” column to your Node Table Panel. Call it “label” for example. And add this text to it:

label: attribute=goterms labelsize=10 outline=false background=false color=black dropShadow=false

Replace “goterms" with the name of the column in your network that contains your imported GO terms. After entering the text,  right-click on that entry and choose “Apply to entire column”. This will copy it all nodes.  You can see all the options in the text string for how it is displayed. If you want to change any of those (e.g., labelsize=12), then you can simply change one and then repeat the “Apply to entire column” to update all of them.

Now you have to set the visual property to use this new “label” column:

In the Style Panel, click on the mapping cell for “Image/Chart 1”. Choose the “label” column and choose “passthrough” mapping. 
Now you should see your extra labels displayed. To position them relative to the node, you have to edit another visual property:

Under the properties pull down at the top of the Style Panel, choose “Paint > Custom Paint 1 > Image/Chart Position 1”. 
Go to the newly displayed property and click on the default cell. Move things around and play with the x,y offsets until you like the position.

Done!

A description of all the options for the label type of enhanced graphic is available here:

Good luck!
 - Alex



Alex Pico

unread,
Oct 21, 2018, 3:44:09 PM10/21/18
to cytoscape...@googlegroups.com
Here are some screenshot to accompany the instructions...
 - Alex

Citu

unread,
Oct 21, 2018, 3:46:47 PM10/21/18
to cytoscape...@googlegroups.com
Thanks for your help. 

Screen Shot 2018-10-21 at 12.30.27 PM.png
Screen Shot 2018-10-21 at 12.43.11 PM.png
Reply all
Reply to author
Forward
0 new messages