You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Addition Description
Semi-metric distances may produce negative eigenvalues, potentially rendering them uninterpretable through PCoA. We should expose one or more methods for correcting these values. Legendre suggests three approaches:
take the square roots of the dissimilarities before PCoA
Lingoes method: add a constant to the squared dissimilarities:Constant c1 is chosen to make sure that all triangles close
Cailliez method: add a constant to the dissimilarities:Constant c2 is chosen to make sure that all triangles close.
Current Behavior
Scikit-bio raises a negative eigenvalue warning to users, encouraging them to interrogate the eigenvalues and decide whether it is useful to proceed.
Proposed Behavior
Expose at least one new transformation which can be applied before PCoA to correct negative eigenvalues. This should probably be its own Method for modularity and ease of use. The scikit-bio warning should probably be augmented to steer users toward correcting their data before calculating PCoA.
Addition Description
Semi-metric distances may produce negative eigenvalues, potentially rendering them uninterpretable through PCoA. We should expose one or more methods for correcting these values. Legendre suggests three approaches:
Current Behavior
Scikit-bio raises a negative eigenvalue warning to users, encouraging them to interrogate the eigenvalues and decide whether it is useful to proceed.
Proposed Behavior
Expose at least one new transformation which can be applied before PCoA to correct negative eigenvalues.
This should probably be its own Method for modularity and ease of use.The scikit-bio warning should probably be augmented to steer users toward correcting their data before calculating PCoA.References
forum xref
forum implementation discussion
math explained in this skbio issue
Pierre Legendre deck
r-vegan
issue - sqrt(D) does not guaranty successPossible target Actions
diversity pcoa
diversity pcoa-biplot
diversity adonis
The text was updated successfully, but these errors were encountered: