omicverse.single.MetaTiME

omicverse.single.MetaTiME(adata: AnnData, mode: str = 'table')[source]

MetaTiME wrapper for tumor microenvironment cell-state annotation.

Parameters:
  • adata (anndata.AnnData) – AnnData to annotate with MetaTiME meta-components.

  • mode (str, optional, default='table') – Output mapping mode for component-to-cell-state interpretation.

Returns:

Initializes MetaTiME resources and annotation mode.

Return type:

None

Examples

>>> TiME_object = ov.single.MetaTiME(adata, mode="table")