This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Find all adjacent nodes from a node until reaching selected nodes

enter image description here

I have the following graph (protein interactions, see image).

I need to find all the neighboring nodes to blue nodes until the next blue node.

For example, If I decide to start from the "IQSEC1" node, I would like to have the following result :

IQSEC1 -> GNAQ -> DGKD

IQSEC1 -> NR2C2-> MTA2

IQSEC1 -> PB1-> DNAJB4

How can I do this?

igraph

this graph was generated with igraph (sorry for the oversight)

0 answers

No answers yet.

Log in to answer this question.