Performing principle coordinate analysis (PCoA) in R and visualizing with ggplot2 (CC186)

February 10, 2022 • PD Schloss • 1 min read

Principle coordinate analysis (PCoA) and its relative, principle component analysis (PCA) are popular ordination techniques that you can use to reduce the dimensions of data in R. In this episode, Pat Schloss will show how to perform PCoA in R and visualize the ordination and companion scree plot. We’ll use the cmdscale function from base R and tools from ggplot2 and the tidyverse package.

Code

You can browse the state of the repository at the