saezlab / corneto

Unified knowledge-driven network inference from omics data
https://saezlab.github.io/corneto/
GNU General Public License v3.0
23 stars 3 forks source link

Plotting function for subnetworks only containing predicted results #2

Closed katharinazirngibl closed 2 years ago

katharinazirngibl commented 2 years ago

It would be very useful in my opinion for the exploration of networks obtained with corneto to have a plotting function that automatically accesses the results from solver and plots a subnetwork that only contains nodes and edges predicted active. Additional options could be to expand the network to include the nodes 1,2,..,n steps away of all or specific nodes to contextualise the results and explore which pathways were not chosen.

pablormier commented 2 years ago

I've added few examples in the notebook https://github.com/saezlab/corneto/blob/main/tests/notebooks/tutorial.ipynb under "Filtering and plotting". It's easy to do but not intuitive, I will add better ways to do that in the future