scvelo.utils.merge

scvelo.utils.merge(adata, ldata, copy=True)

Merge two annotated data matrices.

Parameters:
adata : AnnData

Annotated data matrix (reference data set).

ldata : AnnData

Annotated data matrix (to be merged into adata).

copy : bool

Boolean flag to manipulate original AnnData or a copy of it.

Return type:

AnnData, None

Returns:

Optional[anndata.AnnData] – Returns a AnnData object