regvelo.plotting.commitment_score

regvelo.plotting.commitment_score(adata, lineage_key='lineages_fwd', **kwargs)[source]

Compute and plot cell fate commitment scores based on fate probabilities.

Parameters:
  • adata (AnnData) – Annotated data matrix containing cell fate probabilities in adata.obsm.

  • lineage_key (str) – Key in adata.obsm that stores the cell fate probabilities.

  • **kwargs (Any) – Additional keyword arguments passed to scanpy.pl.umap()

Return type:

None

Returns:

: Nothing, just plots the figure. Also updates adata with the following fields:

  • adata.obs["commitment_score"].