moscot.utils.subset_policy.SequentialPolicy.add_node#

SequentialPolicy.add_node(node, only_existing=False)#

Add a node to the policy graph.

Parameters:
Return type:

SubsetPolicy[TypeVar(K, bound= Hashable)]

Returns:

: Remove the node, if present and return self.