Published April 18, 2024 | Version v1
Computational notebook Open

Calculator for determining directional Earth Movers Distance between distributions in .txt files from mass cytometric analysis

  • 1. ROR icon University College London

Description

Earth Movers Distance (aka Wasserstein distance) is a way of describing the difference between two distributions.  It is a more accurate way of demonstrating differences in cytometric datasets than metrics such as delta-MFI, which neglect the single-cell nature of these datasets.

This version of the code is aimed at mass cytometric datasets, so includes an arcsinh transformation.

EMD is a non-directional measurement of difference, so the directionality is added by comparing the means of the datasets.  This can be changed to median or another metric if needed.

Files

EMD_comprision_directional_tool.ipynb

Files (10.6 kB)

Name Size Download all
md5:9a6349552ab6c1cb9592ce2c265b76e3
10.6 kB Preview Download

Additional details

Funding

NIHR Academy
NIHR Academic Clinical Lectureship CL-2019-18-007

Software

Programming language
Python
Development Status
Inactive