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 toscanpy.pl.umap()
- Return type:
- Returns:
: Nothing, just plots the figure. Also updates
adatawith the following fields:adata.obs["commitment_score"].