corneto.methods.signaling.build_cellnopt_from_annnet#

corneto.methods.signaling.build_cellnopt_from_annnet(method, graph, *, network_slice=None, condition_aspect='condition', condition_layers=None, input_attr='input', inhibitor_attr='inhibited', measurement_attr='observed')#

Build a CellNOptDAG problem from a signed network and data in AnnNet.

The signed interactions are read from network_slice when supplied. Inputs, inhibitors, and measurements are read from vertex attributes in the condition layers. Internal graph preparation is kept inside this integration function so that AnnNet remains the user-facing graph object.

Parameters:
Return type:

ProblemDef