Subselect of network

17 views
Skip to first unread message

Michel Michaels

unread,
Jan 13, 2019, 3:10:44 AM1/13/19
to cytoscape...@googlegroups.com
Hi,

I would like to show  only some part of the network.  Please help me how to do it.

Requirements:


1)  Show only nodes with certain combination of attributes (e.g. type = "task" AND color = "blue")
2)  Show only related nodes with distance of x (e.g. show only nodes, they are connected to the nodes over 2 "generation" and the  shared interaction = "subtask"
3)  Show only the longest paths (e.g. show nodes, there are connected together with more then 5 generations and the shared interaction  = "relates to"
4)  The solution should be as simple as possible
5)  If possible, then it should be available in Web Page export.

E.g. generation 2  :  node1 - edge - node2 - edge - node 3 (count of edges between node 1 and node 3)

Thanks in advance,

Michel


example.cys

Alex Pico

unread,
Jan 13, 2019, 1:52:17 PM1/13/19
to cytoscape-helpdesk
I can provide some general tips. There are two approaches I can think of:

1. Select the nodes and edges you want, then invert the selection, and then hide the selection
2. Select the nodes and edges you want and then create a new subnetwork from selection

Not sure if #1 will work with Web Export. You should try it. Option #2 will definitely work with Web Export, but creates additional networks.

Both approaches rely on selection. You can use the “Select” tab in the Control Panel to construct the selection logic you want using attributes, degree and topology. You’ll have to play with this interface to figure out how to translate your list into selections.

Here’s video on using the Select feature:

 - Alex



--
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/4630945c-2b51-462c-b047-30fd65805c62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michel Michaels

unread,
Jan 13, 2019, 2:01:54 PM1/13/19
to cytoscape-helpdesk
Hi Alex,

of course, select tab. Shame on me. I beg your pardon.

Warm regards,

Michel


On Sunday, January 13, 2019 at 7:52:17 PM UTC+1, Alex Pico wrote:
I can provide some general tips. There are two approaches I can think of:

1. Select the nodes and edges you want, then invert the selection, and then hide the selection
2. Select the nodes and edges you want and then create a new subnetwork from selection

Not sure if #1 will work with Web Export. You should try it. Option #2 will definitely work with Web Export, but creates additional networks.

Both approaches rely on selection. You can use the “Select” tab in the Control Panel to construct the selection logic you want using attributes, degree and topology. You’ll have to play with this interface to figure out how to translate your list into selections.

Here’s video on using the Select feature:

 - Alex



On Jan 13, 2019, at 12:10 AM, Michel Michaels <michel7...@gmail.com> wrote:

Hi,

I would like to show  only some part of the network.  Please help me how to do it.

Requirements:


1)  Show only nodes with certain combination of attributes (e.g. type = "task" AND color = "blue")
2)  Show only related nodes with distance of x (e.g. show only nodes, they are connected to the nodes over 2 "generation" and the  shared interaction = "subtask"
3)  Show only the longest paths (e.g. show nodes, there are connected together with more then 5 generations and the shared interaction  = "relates to"
4)  The solution should be as simple as possible
5)  If possible, then it should be available in Web Page export.

E.g. generation 2  :  node1 - edge - node2 - edge - node 3 (count of edges between node 1 and node 3)

Thanks in advance,

Michel



--
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.
Reply all
Reply to author
Forward
0 new messages