omicverse.space.Deconvolution#
- omicverse.space.Deconvolution(adata_sp, adata_sc=None)[源代码]#
Spatial deconvolution pipeline that aligns scRNA-seq references with spatial transcriptomics.
- 参数:
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.
- 返回:
Initializes the deconvolution manager and backend placeholders.
- 返回类型:
None
示例
>>> decov = ov.space.Deconvolution(adata_sp=adata_sp, adata_sc=adata_sc) >>> decov.deconvolution(method='Tangram', celltype_key_sc='cell_type')