anndata.AnnData.varm

property AnnData.varm: Union[anndata._core.aligned_mapping.AxisArrays, anndata._core.aligned_mapping.AxisArraysView]

Multi-dimensional annotation of variables/features (mutable structured ndarray).

Stores for each key a two or higher-dimensional ndarray of length n_vars. Is sliced with data and var but behaves otherwise like a mapping.

Return type

AxisArrays | AxisArraysViewUnion[AxisArrays, AxisArraysView]