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

Merge: Multiple subgraphs should be mergeable. #6

Open
pomodoren opened this issue Jan 3, 2022 · 0 comments
Open

Merge: Multiple subgraphs should be mergeable. #6

pomodoren opened this issue Jan 3, 2022 · 0 comments

Comments

@pomodoren
Copy link
Owner

cg_res1 = cg.simple_search('pain', ComorbidGraphNode)
cg_res2 = cg.advanced_search(
     'ache inc_ancestor:nervous system symptom exc_ancestor:pain',
     node_type=ComorbidGraphNode
)
subgraph_list = [cg_res1, cg_res2]
resulting_merged_subgraph = cg.merge(subgraph_list=subgraph_list)
resulting_merged_subgraph.explore()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant