anndata.experimental.ReadCallback# protocol anndata.experimental.ReadCallback[source]# typing.Protocol。 实现此协议的类必须具有以下方法/属性: __call__(read_func, elem_name, elem, *, iospec)[source]# 在 anndata.experimental.read_dispatched() 中使用的回调,以自定义从存储中读取元素。 Parameters: read_func 读取[TypeVar(SCo, bound= Array | Dataset | Group | Group, covariant=True), RWAble]anndata.io.read_elem() 函数用于根据 iospec 读取当前元素。 elem_name str从组中读取的关键。 elem Array | Dataset | Group | Group要读取的元素。 iospec IOSpec元素的内部AnnData编码规范。 Return type: RWAble Returns: 从存储中读取的元素。