moscot.utils.tagged_array.TaggedArray¶
- class moscot.utils.tagged_array.TaggedArray(data_src, data_tgt=None, tag=Tag.POINT_CLOUD, cost=None)[source]¶
Interface to interpret array-like data for
moscot.solvers
.It is used to extract array-like data stored in
AnnData
and interpret it as eithercost matrix
,kernel matrix
or apoint cloud
, depending on thetag
.- Parameters:
Methods
from_adata
(adata, dist_key, attr[, tag, ...])Create tagged array from
AnnData
.Attributes