moscot.utils.tagged_array.DistributionContainer

class moscot.utils.tagged_array.DistributionContainer(xy, xx, a, b, conditions, cost_xy, cost_xx)[source]

Data container for OT problems involving more than two distributions.

TODO

Parameters:

Methods

from_adata(adata, a, b[, xy_attr, xy_key, ...])

Create distribution container from AnnData.

Attributes

contains_condition

Whether the distribution contains data corresponding to the condition.

contains_linear

Whether the distribution contains data corresponding to the linear term.

contains_quadratic

Whether the distribution contains data corresponding to the quadratic term.

xy

xx

a

b

conditions

cost_xy

cost_xx