createwDist.RdCalculate weighted distance
createwDist(X_sel, V_exp, Dist_base = NULL, D2 = NULL)
| 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. |
Weighted distance matrix