anndata.acc.RefAcc#
- class anndata.acc.RefAcc(*, ref_class)[source]#
Bases:
ABCAbstract base class for reference accessors.
See reference accessors for all existing subclasses.
Attributes
Methods
- abstractmethod dims(idx, /)[source]#
Get along which dimensions the referenced array is.
- Return type:
Collection[Literal['obs','var']]
- abstractmethod get(adata, idx, /)[source]#
Get the referenced array from the AnnData object.
- Return type: