cellrank.tl.estimators.GPCCA.set_terminal_states_from_macrostates

GPCCA.set_terminal_states_from_macrostates(names=None, n_cells=30)[source]

Manually select terminal states from macrostates.

Parameters
  • names (Union[Sequence[str], Mapping[str, str], str, None]) – Names of the macrostates to be marked as terminal. Multiple states can be combined using ‘,’, such as ["Alpha, Beta", "Epsilon"]. If a dict, keys correspond to the names of the macrostates and the values to the new names. If None, select all macrostates.

  • n_cells (int) – Number of most likely cells from each macrostate to select.

Returns

Nothing, just updates the following fields:

Return type

None