Reputation: 10571
I am manually creating a simple network in Cytoscape and I can create label and edge with names. But don't know how to add attributes to node or edge. For example, for a Student node, I want to add 'ID', 'age' as attributes of Student. I learnt that I need to use 'function builder to create a composite string and then use that column as your passthrough'. But exactly how to create a "composite string"? I can't find any example or tutorial on this. Thank you for your instruction.
Upvotes: 1
Views: 2286
Reputation: 1400
To be clear, you don't want these as "attributes", you want to create a new label that includes all of these values, right?
So to do this, you would
You now have a new column with contains a concatenation of the columns you wanted. Just change the Label passthrough to point to that column.
Upvotes: 2