All distance matrices are transformed using either principal component analysis (PCA) or by calculating the eigenvectors of the graph Laplacian (Spectral). The columns of the resulting matrices are then sorted in descending order by their corresponding eigenvalues.

1 | ```
transformation(dists, method)
``` |

`dists` |
distance matrix |

`method` |
transformation method: either 'pca' or 'laplacian' |

transformed distance matrix

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.