cospar.tl.fate_biased_clones

cospar.tl.fate_biased_clones(adata, selected_fate, fraction_threshold=0.1, FDR_threshold=0.05, persistent_clones=False)

Find clones that significantly biased towards a given fate

Parameters
adata : AnnData object

selected_fate : str

The targeted fate cluster, from adata.obs[‘state_info’].

fraction_threshold : float

The fraction of cells in the target fate cluster for a clone to be included.

FDR_threshold

False discovery rate for identifying the fate biased clone.

persistent_clones : bool

True: find clones that are shared across time points.

Returns

valid_clone_ids – List of valid clone ids.