omicverse.single.get_obs_value

Contents

omicverse.single.get_obs_value#

omicverse.single.get_obs_value(ad, adata, groupby, type='int')[source]#

Transfer per-cell annotations/statistics to metacells.

Looks at adata.obs['metacell_id'] (new schema) or 'SEACell' (legacy) for the cell → metacell mapping.