moscot.utils.subset_policy.TriangularPolicy.remove_node#

TriangularPolicy.remove_node(node)#

Remove a node from the policy graph.

Parameters:

node (Tuple[TypeVar(K, bound= Hashable), TypeVar(K, bound= Hashable)]) – Node to remove.

Return type:

SubsetPolicy[TypeVar(K, bound= Hashable)]

Returns:

: Remove the node, if present and return self.