scglue.metrics.foscttm¶
-
scglue.metrics.
foscttm
(x, y, **kwargs)[source]¶ Fraction of samples closer than true match (smaller is better)
- Parameters
x (
ndarray
) – Coordinates for samples in domain Xy (
ndarray
) – Coordinates for samples in domain y**kwargs – Additional keyword arguments are passed to
scipy.spatial.distance_matrix()
- Return type
- Returns
foscttm_x, foscttm_y – FOSCTTM for samples in domain X and Y, respectively
Note
Samples in domain X and Y should be paired and given in the same order