moscot.utils.subset_policy.SequentialPolicy.remove_node

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