Reads the pairwise gene Earth Mover's Distance matrix produced by the
Python optimal-transport backend (see ComputeGeneEMD()) and deduplicates
row/column names.
LoadGeneEMD(folder.path)Character string. Path to the directory containing the
emd.csv output file written by the Python backend.
A square numeric matrix of gene–gene EMDs with gene names as
row and column names, or NULL if the file cannot be loaded.
if (FALSE) {
gene.dist.mat <- LoadGeneEMD("results/emd/")
}