moscot.costs.LeafDistance#
- class moscot.costs.LeafDistance(adata, weight='weight', **kwargs)[source]#
Shortest path distance on a weighted tree.
See also
See Lineage tree on how to use this cost in the
LineageProblem
.
- Parameters:
Methods
__call__
(*args, **kwargs)Compute the cost matrix.
Attributes