[Cytoscape] Merge nodes by column/attribute
1
0
Entering edit mode
10.2 years ago
enricoferrero ▴ 910

Hi,

I have a network of protein - protein interactions, where the primary IDs of the nodes are Uniprot IDs. Now, some proteins can have different Uniprot IDs but share the same Gene Symbol, which I'm storing as an attribute in another column.

How can I merge nodes based on the value they have in the Gene Symbol attribute/column, while keeping all the edges of the original nodes?

I tried playing with Tools --> Merge --> Network but I can't get it to work (i.e.: nodes do not merge).

Any help is appreciated!

Thanks

merge node cytoscape id • 3.6k views
ADD COMMENT
0
Entering edit mode
2.8 years ago
scooter ▴ 620

Greetings,

If you go into the advanced options for Merge->Networks you should be able to set the matching columns of your two networks to the Gene Symbol. Make sure that the format of the Gene Symbol columns is the same, though (i.e. no quotes around one, no extra spaces in the other, etc.).

-- scooter

ADD COMMENT

Login before adding your answer.

Traffic: 2197 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6