moscot.costs.LeafDistance.__call__

LeafDistance.__call__(*args, **kwargs)

Compute the cost matrix.

Parameters:
  • args (Any) – Positional arguments.

  • kwargs (Any) – Keyword arguments.

Return type:

ndarray[Any, dtype[float64]]

Returns:

: The cost matrix.