omicverse.single.AnnotationRef

omicverse.single.AnnotationRef(adata_query: AnnData, adata_ref: AnnData, celltype_key: str = 'celltype')[source]

Reference-based label transfer helper for single-cell annotation.

Parameters:
  • adata_query (AnnData) – Query AnnData that needs cell-type annotation.

  • adata_ref (AnnData) – Reference AnnData with known cell-type labels.

  • celltype_key (str) – Column name in adata_ref.obs containing reference cell-type labels.

Returns:

Initializes concatenated query/reference data and checks feature overlap.

Return type:

None