moscot.utils.subset_policy.SubsetPolicy.plan#

SubsetPolicy.plan(filter=None, explicit_steps=None, **kwargs)[source]#

Compute a sequence of steps based on the policy graph.

Useful when calling create_masks().

Parameters:
Return type:

Sequence[Tuple[TypeVar(K, bound= Hashable), TypeVar(K, bound= Hashable)]]

Returns:

: Sequence of steps.