moscot.utils.subset_policy.OrderedPolicy.remove_node

OrderedPolicy.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.