c2v.tl.clonocluster

Contents

c2v.tl.clonocluster#

c2v.tl.clonocluster(adata, alpha=0.2, beta=0.1, key_added='clonocluster', graph_key=None, lineage_graph='connected')#

Performing ClonoCluster [PMID: 36819662] algorithm for lineage-informed gene expression clustering.

Parameters:
adata sc.AnnData

Annotated data matrix.

alpha float, optional

Parameter for clonocluster algorithm, should be between 0 and 1. 0 means no inclusion of lineage information, 1 means that only lineage information is used. Default is 0.2.

beta float, optional

Parameter for clonocluster algorithm, should be between 0 and 1. Default is 0.1.

key_added str, optional

Key in obsp to store clonocluster connectivities. Default is “ClonoCluster”.

graph_key str | None, optional

Key in uns to store graph. If None, looks for “neighbors”. Default is None.

lineage_graph str, optional

Key in obsp to store lineage graph. Default is “connected”.