Calculate weighted distance

createwDist(X_sel, V_exp, Dist_base = NULL, D2 = NULL)

Arguments

X_sel

Matrix used to calculate correlation distance.

V_exp

Matrix of explained variance (see calcProp).

Dist_base

Base distance, create from createDist_base.

D2

Distance matrix for weight.

Value

Weighted distance matrix