moscot.costs.BarcodeDistance.__call__

BarcodeDistance.__call__(*args, **kwargs)

Compute the cost matrix.

Parameters:
  • args (Any) – Positional arguments.

  • kwargs (Any) – Keyword arguments.

Return type:

Union[ndarray[tuple[int, ...], dtype[floating]], Array]

Returns:

: The cost matrix.