Ordination

Published

January 1, 2021

TipMaterial Required for This Chapter
Type Name Link
Slides Ordination lecture slides 💾 BCB743_07_ordination.pdf
Reading Vegan–An Introduction to Ordination 💾 Oksanen_intro-vegan.pdf

Ecological data are complex — we want to know about many species, many environmental factors that are thought to affect those species, at many places, and at many times. Often, we think about these things all at once. Ecologists routinely consider the following data matrices, which do different kinds of “work” — representation of the data we collect in the field, comparison of community structure across space and time, and explanation of any patterns seen:

Collectively, these matrices are successive abstractions about the ecological reality (in as far as we are able to measure it), each discarding some information to gain analytical leverage at others.

In such complex, high-dimensional data, analysing each variable separately using a series of univariate or bivariate analyses would be inefficient (if not impossible) and unlikely to reveal the underlying patterns accurately. For example, in the Doubs River dataset, a univariate approach would require (27 × 26) / 2 = 351 separate analyses, which is impractical and prone to misinterpretation.

Ordination comes from the Latin word ordinatio, which means placing things in order (Chapter 9, Legendre and Legendre 2012). In ecology and some other sciences, it refers to a suite of multivariate statistical techniques used to analyse and visualise complex, high-dimensional data, such as ecological community data. In other words, high-dimensional data are ordered along some ‘reduced axes’ that explain patterns seen in nature. While clustering methods focus on identifying discontinuities or groups within the data, ordination aims to highlight and interpret gradients, which are ubiquitous in ecological communities.

The multivariate data about environmental properties or species composition, which we present to the analyses as tables of species or environmental variables, can be prepared in different ways. The most common workflows involve the following steps (Figure 1):

From here, we can derive the following types of matrices:

Figure 1: Species and environmental tables and what to do with them.

Some of these newly-calculated matrices are then used as starting points for the ordination analyses.

The following methods are covered in the lecture slides. You are expected to be familiar with how to select the appropriate method, and how to execute each. Supplement your studying by accessing these sources: Numerical Ecology with R, GUSTA ME (see links immediately below), and Analysis of Community Ecology Data in R:

1 Dimension Reduction

Ordination is a dimension reduction method. It:

  • Takes high-dimensional data (many columns).
  • Applies scaling and rotation.
  • Reduces the complexity to a low-dimensional space (orthogonal axes).

Ordination represents the complex data along a reduced number of orthogonal axes (linearly independent and uncorrelated), constructed in such a way that they capture the main trends or gradients in the data in decreasing order of importance. Each orthogonal axis captures a portion of the variation attributed to the original variables (columns). Interpretation of these axes is aided by visualisations (biplots), regressions, and clustering techniques.

Essentially, ordination geometrically arranges (projects) sites or species into a simplified dataset, where distances between them in the Cartesian 2D or 3D space represent their ecological or species dissimilarities. In this simplified representation, the further apart the shapes representing sites or species are on the graph, the larger the ecological differences between them.

TipAnalogy of What an Ordination Does

Consider a 3D pear held in a directed beam of light, its shadow falling upon a plane. The silhouette cast on the surface depends entirely on the pear’s orientation — rotate it through the beam and the shadow shifts from the recognisable pear form to a near-circular disc, and various shapes in-between with greater and lesser resemblance to the recognisable pear shape. Each rotation offers a different 2D view of the same 3D reality.

Ordination works through an analogous geometric transformation. Your original data inhabit a high-dimensional space. Each variable constitutes an axis, and each observation (i.e., species, environmental variables) is a point within that space. The method seeks orientations (principal components, in the case of PCA) that maximise the spread of these points when viewed from particular vantage points, much as rotating the pear reveals which angles preserve the most information about its form in shadow. Variance along the first axis corresponds to the rotation that casts the “widest” and most realistic pear-shaped shadow; subsequent axes capture diminishing amounts of the remaining spread, each perpendicular to those preceding it.

Projection maps this high-dimensional (often > 3D) configuration onto fewer dimensions by effectively choosing how to “illuminate” the data. Rotate the pear to face the light directly along its narrow axis and the shadow collapses into something uninformative, most likely a round disc that might as well have been cast by an orange. Angle it differently and the shadow preserves the distinctive taper and bulge. So too with ordination: certain projections reveal clustering, gradients, or correlations that high-dimensional space obscures; others flatten structure into meaninglessness. The ordination computation identifies rotations that retain maximum information to ensure the reduced representation (the shadow) captures the data’s inherent geometry with minimal distortion.

The reduced axes are ordered by the amount of variation they capture, with the first axis capturing the most variation, the second axis capturing the second most, and so on. The axes are orthogonal, so they are uncorrelated. They are linear combinations of the original variables, making them interpretable.

“Ordination primarily endeavours to represent sample and species relationships as faithfully as possible in a low-dimensional space” (Gauch, 1982). This is necessary because visualising multiple dimensions (species or variables) simultaneously in community data is extremely challenging, if not impossible. Ordination compromises between the number of dimensions and the amount of information retained. Ecologists are frequently confronted by 10s, if not 100s, of variables, species, and samples. A single multivariate analysis also saves time compared to conducting separate univariate analyses for each species or variable. What we really want is for the dimensions of this ‘low-dimensional space’ to represent important and interpretable environmental gradients.

2 Benefits of Ordination

Ecological communities are structured assemblages shaped by shared environmental constraints, biotic interactions, and historical contingencies. Analysing species one at a time therefore fragments a system whose organisation is inherently multivariate. Ordination treats the community (not a population) as the primary unit of analysis and allows patterns of co-occurrence and turnover among species to be examined directly. So, it provides a natural framework for studying β diversity (the variation in species composition among sites) without reducing that variation to a sequence of disconnected pairwise comparisons involving multiple populations.

From a statistical perspective, ordination exploits the redundancy in multivariate data rather than treating it as a nuisance. Ecological datasets contain variables that covary because they respond to the same fundamental gradients. Conducting many separate univariate tests (something univariate statistics seriously frowns upon) on such data inflates the probability of false positives and hides the shared structure that gives rise to those correlations. Ordination collapses this correlated variation into a smaller number of combined axes, with each representing a dominant dimension of variation. This reduction concentrates signal while relegating minor, incoherent variation to higher axes that are not interpreted. In this sense, ordination functions as a principled form of noise reduction grounded in the geometry (rotation) of the data.

Another benefit is in the ordered nature of the resulting axes. Because ordination ranks dimensions by the amount of variation they account for, it allows gradients to be compared in terms of their relative strength. This ordering enables statements about dominance and secondary structure (whether one gradient outweighs another, or whether meaningful structure persists beyond the first few axes), which is nearly impossible to accomplish with univariate methods alone.

Finally, ordination translates numerical relationships into spatial configurations that are easily presented as visualisations. Ordination diagrams compress the high-dimensional relationships into intuitive graphs which make similarities, differences, and alignments immediately obvious. This graphical representation plays a central role in interpretation, hypothesis development, and communication. Patterns that are opaque in tables of coefficients or test statistics often become intelligible once expressed as distances, directions, and relative positions in ordination space.

3 Types of Ordinations

The first group of ordination techniques includes eigen-analysis methods, which use linear algebra for dimensionality reduction. The second group includes non-eigen-analysis methods, which use iterative algorithms for dimensionality reduction. I will cover both classes in this lecture, with non-Metric Multidimensional Scaling being the only example of the second group.

The eigen-analysis methods produce outputs called eigenvectors and eigenvalues, which are then used to determine the most important patterns or gradients in the data. These properties and applications of eigenvectors and eigenvalues will be covered in subsequent sections. The non-eigen approach instead uses numerical optimisation to find the best representation of the data in a lower-dimensional space.

Below, I prefer a classification of the ordination methods into constrained and unconstrained methods. This classification is based on the type of information used to construct the ordination axes and how they are used. Constrained methods use environmental data to construct the axes, while unconstrained methods do not. The main difference between these two classes is that constrained methods are hypothesis-driven, while unconstrained methods are exploratory.

3.1 Unconstrained ordination (indirect gradient analysis)

Although unconstrained ordinations are grounded in statistical models and assumptions (e.g. Euclidean geometry, χ² distances, linearity vs. unimodality), they do not natively apply inference testing — their default application makes them more descriptive than inferential. Sometimes they are called indirect gradient analysis. These analyses are based on either the environment × sites matrix or the species × sites matrix, each analysed and interpreted in isolation. The main goal is to find the main gradients in the data. We apply indirect gradient analysis when the gradients are unknown a priori and we do not have environmental data related to the species. Gradients or other influences that structure species in space are therefore inferred from the species composition data only. The communities thus reveal the presence (or absence) of gradients, but may not offer insight into the identity of the structuring gradients. The most common methods are:

  • Principal Component Analysis (PCA): The main eigenvector-based method, working on raw, quantitative data. It preserves the Euclidean (linear) distances among sites, mainly used for environmental data but also applicable to species dissimilarities.
  • Correspondence Analysis (CA): Works on data that must be frequencies or frequency-like, dimensionally homogeneous, and non-negative. It preserves the \(\chi^2\) distances among rows or columns, mainly used in ecology to analyse species data tables.
  • Detrended Correspondence Analysis (DCA): A variant of CA that is more suitable for species data tables with long environmental gradients which creates an interesting visual effect in the ordination diagram, called the arch-effect. Detrending linearises the species response to environmental gradients.
  • Principal Coordinate Analysis (PCoA): Devoted to the ordination of dissimilarity or distance matrices, often in the Q mode instead of site-by-variables tables, offering great flexibility in the choice of association measures.
  • non-Metric Multidimensional Scaling (nMDS): A non-eigen-analysis method that works on dissimilarity or rank-order distance matrices to study the relationship between sites or species. nMDS represents objects along a predetermined number of axes while preserving the ordering relationships among them.

So, the take home here is that unconstrained ordinations are often used in hypothesis-adjacent ways (e.g., axis interpretation guided by prior ecological expectations), and we turn to the constrained versions as needed for more hypothesis-driven insights.

3.2 Constrained ordination (direct gradient analysis)

Constrained ordination adds a level of statistical testing and is also called direct gradient analysis or canonical ordination. It typically uses explanatory variables (in the environmental matrix) to explain the patterns seen in the species matrix. The main goal is to find the main gradients in the data and test the significance of these gradients. So, we use constrained ordination when important gradients are hypothesised. Likely evidence for the existence of gradients is measured and captured in a complementary environmental dataset that has the same spatial structure (rows) as the species dataset. Direct gradient analysis is performed using linear or non-linear regression methods that relate the ordination performed on the species to its matching environmental variables. The most common methods are:

  • Redundancy Analysis (RDA): A constrained form of PCA, where ordination is constrained by environmental variables, used to study the relationship between species and environmental variables.
  • Canonical Correspondence Analysis (CCA): A constrained form of CA, where ordination is constrained by environmental variables, used to study the relationship between species and environmental variables.
  • Detrended Canonical Correspondence Analysis (DCCA): A constrained form of CA, used to study the relationship between species and environmental variables.
  • Distance-Based Redundancy Analysis (db-RDA): A constrained form of PCoA, where ordination is constrained by environmental variables, used to study the relationship between species and environmental variables.

PCoA and nMDS can produce ordinations from any square dissimilarity or distance matrix, offering more flexibility than PCA and CA, which require site-by-species tables. PCoA and nMDS are also more robust to outliers and missing data than PCA and CA.

4 Ordination Diagrams

Ordination diagrams are convenient visual summaries that capture the geometric representations of relationships in high-dimensional space. Distances, directions, and relative positions (of sites and species) in the diagram correspond to patterns in the original multivariate ecological data, compressed into a form that can be visually inspected and interpreted.

Ordination analyses are typically presented through graphical representations called ordination diagrams, which provide a simplified visual summary of the relationships between samples (the rows), species (columns), and environmental variables (also columns) in multivariate ecological data.

4.1 Basic elements of ordination diagrams

  • Sample Representation:
    • Individual samples or plots (rows) are displayed as points or symbols.
    • The relative positions of these points reflect the similarity (points plotting closer together) or dissimilarity (points spread further apart) between samples based on their species composition.
  • Species Representation:
    • In linear methods (e.g., PCA, RDA): Species are represented by arrows, with direction indicating increasing abundance and length suggesting rate of change.
    • In weighted averaging methods (e.g., CA, CCA): Species are shown as points, representing their optimal position (often suggesting a unimodal distribution).
  • Environmental Variable Representation:
    • Quantitative Variables: Displayed as vectors, with the arrows’ direction showing the gradient of increasing values and length indicating correlation strength with ordination axes.
    • Qualitative Variables: Represented by centroids (average positions) for each category.
  • Default plot options use base R graphics, but more advanced visualisations can be created using ggplot2.

4.2 Construction of the ordination space

  • The coordinates given by the eigenvectors (species and site scores) are displayed on a 2D plane, typically using PC1 and PC2 (or PC1 and PC3, etc.) as axes.
  • This creates a biplot, simultaneously plotting sites as points and environmental variables as vectors.
  • The loadings (coefficients of original variables) define the reduced-space ‘landscape’ across which sites are scattered.
  • Different scaling options (e.g., site scaling vs. species scaling) can emphasise different aspects of the data.

4.3 Interpretation of the diagram

  • Sample Relationships:
    • Proximity between sample points indicates similarity in species composition.
    • The spread of sites along environmental arrows represents their position along that gradient.
  • Species-Environment Relationships:
    • The angle between species arrows or their distance from sample points reflects association or abundance patterns.
    • The arrangement of sites in the reduced ordination space represents their relative positions in the original multidimensional space.
  • Environmental Gradients:
    • Arrow length indicates the strength of the relationship between the variable and the principal component.
    • The cosine of the angle between arrows represents the correlation between environmental variables.
    • Parallel arrows suggest positive correlation, opposite arrows indicate negative correlation, and perpendicular arrows suggest uncorrelated variables.
  • Biplots are heuristic tools and patterns should be further tested for statistical significance if necessary.
  • Outliers can greatly influence the ordination and should be carefully examined.

References

Legendre P, Legendre L (2012) Numerical ecology. Elsevier

Reuse

Citation

BibTeX citation:
@online{smit,_a._j.2021,
  author = {Smit, A. J.,},
  title = {Ordination},
  date = {2021-01-01},
  url = {http://tangledbank.netlify.app/BCB743/ordination.html},
  langid = {en}
}
For attribution, please cite this work as:
Smit, A. J. (2021) Ordination. http://tangledbank.netlify.app/BCB743/ordination.html.