c2v.tl.align

Contents

c2v.tl.align#

c2v.tl.align(clones, use_rep='clone2vec', adj_rep='clone2vec_pa', uns_key='simple_mnn', weighted=True)#

Align clones.obsm[use_rep] using MNNs found in clones.uns[uns_key] via procrustes alignment (PA).

Parameters:
clones AnnData

Annotated data matrix at the clone level.

use_rep str, optional

Key in clones.obsm containing representation to use for alignment, by default “clone2vec”.

adj_rep str, optional

Key in clones.obsm to store aligned representation, by default “clone2vec_pa”.

uns_key str, optional

Key in clones.uns containing anchor information, by default “simple_mnn”.

weighted bool

Return type:

None

Returns:

None Aligned representation is stored in clones.obsm[adj_rep].