UNAGI.dynamic_graphs.distDistance.normalizeDistance

UNAGI.dynamic_graphs.distDistance.normalizeDistance(distance)[source]

Normalize the kl divergence distance and top differential gene distances. (Use the min-max normalization method.)

Parameters:

distance (list) – A list of distance metrics. ([gaussian kl divergence, top differential gene difference])

Returns:

normalizedDistance (np.array) – Sum of normalized kl divergence and top differential gene difference distance