omicverse.single.DCT

omicverse.single.DCT(adata: AnnData, condition: str, ctrl_group: str, test_group: str, cell_type_key: str, method: str = 'sccoda', sample_key=None, use_rep=None)[source]

Differential cell-type abundance testing wrapper.

Parameters:
  • adata (AnnData) – Input single-cell AnnData.

  • condition (str) – Condition column in adata.obs.

  • ctrl_group (str) – Control-group label.

  • test_group (str) – Test-group label.

  • cell_type_key (str) – Cell-type annotation column.

  • method (str, default='sccoda') – Differential-abundance backend.