annotate_cell_fate#
- scdiffeq.tools._annotate_cell_fate.annotate_cell_fate(adata_sim: AnnData, state_key: str = 'state', key_added: str = 'fate', time_key: str = 't', sim_key: str = 'sim', silent: bool = False, *args, **kwargs) None[source]#
Annotate the fate of a simulated cell trajectory, given annotated states.
- Parameters:
adata_sim (AnnData) –
Simulated AnnData object.
- state_key (str)
Key in
adata_sim.obscorresponding to annotated states.- key_added (str)
Key added to
adata_sim.obsto indicate the fate of each trajectory. Default: “fate”- time_key (str)
Key in
adata_sim.obscorresponding to time.- sim_key (str)
Key in
adata_sim.obscorresponding to each individual simulation.- silent (bool)
If
True, suppresses informational messages.
- Return type:
None