biocore / mds-approximations

Multidimensional scaling algorithms for microbiology-ecology datasets.
6 stars 7 forks source link

Preprocess distance matrix & use OrdinationResults #24

Closed HannesHolste closed 8 years ago

HannesHolste commented 8 years ago
  1. Do computations on the distance matrix before PcoA as per Legendre & Legendre
  2. Sort eigenvectors and eigenvalues only if eigenvalues are present
  3. Serialize results to scikit-bio OrdinationResults container

@antgonza please take a look.

(1) is the F_matrix, E_matrix and sorting of the distance matrix before actual PCoA as per Numerical Ecology book, as we discussed over phone.

If approved, please squash & merge into one commit.