omicverse.space.Deconvolution

omicverse.space.Deconvolution(adata_sp, adata_sc=None)[source]

Spatial deconvolution pipeline that aligns scRNA-seq references with spatial transcriptomics.

Parameters:
  • adata_sp (AnnData) – Spatial transcriptomics AnnData object (spots x genes).

  • adata_sc (AnnData or None) – Single-cell reference AnnData (cells x genes) containing cell-type labels.

Returns:

Initializes the deconvolution manager and backend placeholders.

Return type:

None

Examples

>>> decov = ov.space.Deconvolution(adata_sp=adata_sp, adata_sc=adata_sc)
>>> decov.deconvolution(method='Tangram', celltype_key_sc='cell_type')