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