10: Principal Coordinates Analysis (PCoA)
Practice Task
Practice Task
Work through these questions after reading the Principal Coordinates Analysis chapter. The point of PCoA is that you choose the dissimilarity, so this task asks you to see how much that choice matters.
Compute a Bray-Curtis dissimilarity on the Doubs fish data and run a PCoA with
capscale(spe ~ 1, distance = "bray"). Report the proportion of variation captured by the first two axes, and check the eigenvalues for negative (“imaginary”) values. If there are negative eigenvalues, explain why they arise and how they affect the proportions you reported.Repeat the PCoA with a presence-absence dissimilarity (Jaccard or Sørensen) on the same data. Compare the two ordinations. How sensitive is the site configuration to the choice between an abundance-based and a presence-absence dissimilarity?
Use a Gower dissimilarity (
cluster::daisy(..., metric = "gower")) on a table that mixes variable types, for example the Doubs environmental data treated together with one or more categorical variables of your own making. Run a PCoA on the result and explain why PCA and CA could not have analysed this table directly.Run an nMDS on the same Bray-Curtis matrix from Question 1. Compare the PCoA and nMDS configurations, and state which method preserved the dissimilarities better, citing the appropriate goodness measure for each (proportion of variation / eigenvalue-based fit for PCoA, stress for nMDS).
On the basis of the above, write a short paragraph on when you would choose PCoA over PCA, CA, or nMDS.
Assessment Criteria
This Task is not formally assessed.
Reuse
Citation
@online{smit2026,
author = {Smit, A. J. and Smit, AJ},
title = {10: {Principal} {Coordinates} {Analysis} {(PCoA)}},
date = {2026-06-12},
url = {https://tangledbank.netlify.app/BCB743/tasks/Task_PCoA.html},
langid = {en}
}
