Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream controller recursive implementation #127

Open
ddomingof opened this issue Jun 26, 2018 · 1 comment
Open

Upstream controller recursive implementation #127

ddomingof opened this issue Jun 26, 2018 · 1 comment
Labels

Comments

@ddomingof
Copy link
Member

ddomingof commented Jun 26, 2018

Given a BELGraph and a node, find all of the upstream controllers:

controllers(g, n) = set.union(controllers(g, u) for u upstream of n in g)

@cthoyt cthoyt added the easy label Jun 27, 2018
@cthoyt
Copy link
Member

cthoyt commented Mar 13, 2019

@ewollert this would be a cool thing to work towards at the end of march. We'll enrich some graphs we have with drugs/chemicals and apply this function to ask the question: which molecules increase (or decrease) a given node?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants