Importing nod attributes

15 views
Skip to first unread message

Ian

unread,
Feb 21, 2012, 5:35:42 AM2/21/12
to cytoscape-discuss
Hi,

I'm a newcomer to cytoscape and have a question to ask. It's something
very basic that I am trying to do but I am unfortunately a bit stuck.

I have imported a network through an Excel spreadsheet as follows, in
the format SourceInteraction TargetInteraction InteractionStrength


developmental process anatomical structure morphogenesis 0.625
regulation of protein catabolic process regulation of proteasomal
ubiquitin-dependent protein catabolic process 1
negative regulation of biological process negative regulation of
cellular protein metabolic process 0.857142857
regulation of biological process regulation of immune system process
0.818181818
regulation of biological process regulation of protein catabolic
process 0.833333333
regulation of biological process negative regulation of biological
process 0.823529412
regulation of biological process regulation of multicellular
organismal process 0.894736842
regulation of biological process regulation of protein ubiquitination
0.8574
biological regulation regulation of biological process 0.9844
biological regulation regulation of ligase activity 0.666666667
proteasomal protein catabolic process

I am now trying to import node attributes to this network from an
Excel file. The file is as follows:

regulation of protein ubiquitination -4.5591
regulation of protein catabolic process -4.5498
regulation of proteasomal ubiquitin-dependent protein catabolic
process -4.1818
regulation of multicellular organismal process -7.4572
regulation of ligase activity -4.5498
regulation of immune system process -4.8761
regulation of biological process -4.7399
proteasomal protein catabolic process -4.5591
negative regulation of cellular protein metabolic process -5.3134
negative regulation of biological process -5.3382
developmental process -4.8861
biological regulation -4.684
anatomical structure morphogenesis -5.757

However, only the top attribute "-4.5591" ever loads, even if this was
to be at the bottom of the list this would still be the only attribute
to load.

Could anyone give me any advice?

Thanks in advance.

Alexander Pico

unread,
Mar 1, 2012, 1:05:57 PM3/1/12
to Cytoscape-Discuss
Hi Ian,

What you've described should work, no problem. I've taken you sample data,
prepared tab-delimited files and imported them. See attached files and
screenshots. If you can't get it to work on your machine, let us know which
steps look different from my examples.

- Alex

net.cys
net.txt
node_att.txt
import of net.png
import of node_att.png
Reply all
Reply to author
Forward
0 new messages