corneto.methods.signaling.add_cellnopt_results#
- corneto.methods.signaling.add_cellnopt_results(graph, method, problem, *, solution=None, model_slice='cellnopt_selected', prediction_attr='predicted', activity_attr='active', measurement_attr='observed', error_attr='absolute_error')#
Add a solved CellNOptDAG model and its condition results to AnnNet.
The selected interactions are added to
model_slice. Predictions are stored on protein-layer pairs, while copies of selected interactions in each condition layer record whether their reaction is active.