saezlab / corneto

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

prune() function disregard input nodes not present in network #6

Open katharinazirngibl opened 1 year ago

katharinazirngibl commented 1 year ago

In Corneto 0.9.1-alpha.0 (installation https://github.com/saezlab/corneto.git@5fbbf4af19c0c23f30d08bb28df3d647800a0e13) the pruning function for networks fails if the species/nodes/vertices (source and target parameter) used for pruning are not present in the network that should be pruned. It could be useful to automatically filter/disregard those nodes that are not present with a printed info message about the filtering process.