Edit Edge Table under Table Panel

31 views
Skip to first unread message

ifr...@gmail.com

unread,
Aug 1, 2018, 6:28:34 PM8/1/18
to cytoscape-helpdesk
Hi folks,

Can we replace all the values in the 'value' column of Edge Table under Table Panel with new values? I can change these values one by one by clicking each box but it will take forever.

Ruth Isserlin

unread,
Aug 1, 2018, 6:35:45 PM8/1/18
to cytoscape...@googlegroups.com

Are you trying to set the whole column to the same value?  if so then you can change the value of one cell and then right click on the cell and click "apply to entire column".  You can select all nodes you want to set to a specific value and click "apply to selected"


Alternately, you can load in a table with the values for the node through File -> import -> table -> File ...


Ruth 


From: cytoscape...@googlegroups.com <cytoscape...@googlegroups.com> on behalf of ifr...@gmail.com <ifr...@gmail.com>
Sent: Wednesday, August 1, 2018 6:28:29 PM
To: cytoscape-helpdesk
Subject: [cytoscape-helpdesk] Edit Edge Table under Table Panel
 
Hi folks,

Can we replace all the values in the 'value' column of Edge Table under Table Panel with new values? I can change these values one by one by clicking each box but it will take forever.

--
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/33e04340-e6b8-4d21-bc6f-4bf5a1398bf8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

ifr...@gmail.com

unread,
Aug 1, 2018, 7:09:03 PM8/1/18
to cytoscape-helpdesk
Thank you for quick response. However, I am trying to set the cells to different values, but not the same value. Is there any way to do this?

When I tried File -> import -> table -> File ..., it created another graph, but didn't set old edges to new values.


On Wednesday, August 1, 2018 at 3:35:45 PM UTC-7, risserlin wrote:
> Are you trying to set the whole column to the same value?  if so then you can change the value of one cell and then right click on the cell and click "apply to entire column".  You can select all nodes you want to set
> to a specific value and click "apply to selected"
>
>
>
>
>
> Alternately, you can load in a table with the values for the node through File -> import -> table -> File ...
>
>
>
>
>
> Ruth 
>
>
>

Ruth Isserlin

unread,
Aug 2, 2018, 9:22:43 AM8/2/18
to cytoscape...@googlegroups.com
In the edge attribute file you need to make sure that the key you specify matches an attribute in the edge table. In the below example my file has a column called edgeid and it matches exactly "key column for Network" - "shared name" 

Under File->Import -> table -> File... An example file to load would look like this


The resulting edge table wth the new attribute would look like:


More info on loading tables can be found here:http://manual.cytoscape.org/en/stable/Node_and_Edge_Column_Data.html

Ruth 



On Wed, Aug 1, 2018 at 7:09 PM, <ifr...@gmail.com> wrote:
Thank you for quick response. However, I am trying to set the cells to different values, but not the same value. Is there any way to do this?

When I tried File -> import -> table -> File ..., it created another graph, but didn't set old edges to new values.


On Wednesday, August 1, 2018 at 3:35:45 PM UTC-7, risserlin wrote:
> Are you trying to set the whole column to the same value?  if so then you can change the value of one cell and then right click on the cell and click "apply to entire column".  You can select all nodes you want to set
>  to a specific value and click "apply to selected"
>
>
>
>
>
> Alternately, you can load in a table with the values for the node through File -> import -> table -> File ...
>
>
>
>
>
> Ruth 
>
>
>
> From: cytoscape...@googlegroups.com <cytoscape...@googlegroups.com> on behalf of ifr...@gmail.com <ifr...@gmail.com>
>
> Sent: Wednesday, August 1, 2018 6:28:29 PM
>
> To: cytoscape-helpdesk
>
> Subject: [cytoscape-helpdesk] Edit Edge Table under Table Panel
>
>  
>
>
>
>
> Hi folks,
>
>
>
> Can we replace all the values in the 'value' column of Edge Table under Table Panel with new values? I can change these values one by one by clicking each box but it will take forever.
>
>
>
> --
>
> 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-helpdesk+unsub...@googlegroups.com.
>
> To post to this group, send email to cytoscape...@googlegroups.com.
--
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-helpdesk+unsub...@googlegroups.com.
To post to this group, send email to cytoscape-helpdesk@googlegroups.com.

kabirsahni8

unread,
Aug 2, 2018, 9:42:04 AM8/2/18
to cytoscape...@googlegroups.com




Sent from my Samsung Galaxy smartphone.
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.
IMG-20180727-WA0001.jpg

kabirsahni8

unread,
Aug 2, 2018, 9:42:08 AM8/2/18
to cytoscape...@googlegroups.com




Sent from my Samsung Galaxy smartphone.

-------- Original message --------
From: Ruth Isserlin <ruth.i...@utoronto.ca>
Date: 02/08/2018 18:52 (GMT+05:30)
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.

ifr...@gmail.com

unread,
Aug 2, 2018, 1:14:49 PM8/2/18
to cytoscape-helpdesk
Awesome! Works now. Previously, the Key I specified didn't match to an attribute in the edge table.

Thank you!

On Thursday, August 2, 2018 at 6:22:43 AM UTC-7, risserlin wrote:
> In the edge attribute file you need to make sure that the key you specify matches an attribute in the edge table. In the below example my file has a column called edgeid and it matches exactly "key column for Network" - "shared name" 
>
>
> Under File->Import -> table -> File... An example file to load would look like this
>
>
>
>
>
> The resulting edge table wth the new attribute would look like:
>
>
>
>
>
> More info on loading tables can be found here:http://manual.cytoscape.org/en/stable/Node_and_Edge_Column_Data.html
>
>
> Ruth 
>
>
>
>
> On Wed, Aug 1, 2018 at 7:09 PM, <ifr...@gmail.com> wrote:
> Thank you for quick response. However, I am trying to set the cells to different values, but not the same value. Is there any way to do this?
>
>
>
> When I tried File -> import -> table -> File ..., it created another graph, but didn't set old edges to new values.
>
>
>
>
>
> On Wednesday, August 1, 2018 at 3:35:45 PM UTC-7, risserlin wrote:
>
> > Are you trying to set the whole column to the same value?  if so then you can change the value of one cell and then right click on the cell and click "apply to entire column".  You can select all nodes you want to set
>
> >  to a specific value and click "apply to selected"
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > Alternately, you can load in a table with the values for the node through File -> import -> table -> File ...
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > Ruth 
>
> >
>
> >
>
> >
>
> > From: cytoscape...@googlegroups.com <cytoscape...@googlegroups.com> on behalf of ifr...@gmail.com <ifr...@gmail.com>
>
> >
>
> > Sent: Wednesday, August 1, 2018 6:28:29 PM
>
> >
>
> > To: cytoscape-helpdesk
>
> >
>
> > Subject: [cytoscape-helpdesk] Edit Edge Table under Table Panel
>
> >
>
> >  
>
> >
>
> >
>
> >
>
> >
>
> > Hi folks,
>
> >
>
> >
>
> >
>
> > Can we replace all the values in the 'value' column of Edge Table under Table Panel with new values? I can change these values one by one by clicking each box but it will take forever.
>
> >
>
> >
>
> >
>
> > --
>
> >
>
> > 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/33e04340-e6b8-4d21-bc6f-4bf5a1398bf8%40googlegroups.com.
>
> >
>
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
>
> 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.
>
Reply all
Reply to author
Forward
0 new messages