Skip main navigation

Clustering and correlation analysis

Clustering and correlation analysis

In the previous step, we have seen how we can identify and visualise patterns or groups (if present) in our high-dimensional resistome data using ordination analysis.

Another very commonly used type of approach to find any hidden clusters or groups in the data is Hierarchical Clustering analysis. As the name suggests, it involves organising the data or samples into a kind of hierarchy. One common approach (known as agglomerative) of doing that is by considering each sample as a data point and then start clustering them together into clusters one by one until our entire data or all samples are grouped in one big cluster.

This approach requires us to have a way of measuring the distance between two samples or points and a method to clustering two points to create a new point. Firstly, we can use the same distance or dissimilarity metrics as used in beta diversity analysis. Other than that, there are a number of commonly used metrics such as Euclidean (straight line distance between two points), Pearson, etc., for characterising the distance between points or samples. Secondly, there are several clustering algorithms for specifying how should we measure the distance from one point to the merged cluster of points/samples. For example, ‘Complete linkage’ is to measure the distance between two clusters as the distance between the furthest points in those clusters. While, the distance between two nearest points is considered in case of ‘Single linkage’. Unlike these methods, instead of measuring the distance directly, ‘Ward linkage’ analyses the variance of clusters. In ResistoXplorer, the results of clustering analysis can be visualised using Heatmap and Dendrogram.

Other than finding similarities or dissimilarities between samples in data, we can also find associations or co-occurrence patterns between ARGs or features. Currently, three methods to calculate pairwise correlations between features are supported in ResistoXplorer: Pearson’s correlation, Spearman’s rank correlation, and Kendall’s tau correlation. Though still commonly used, these methods do not address the issue of spurious correlations due to the compositional nature of sequencing data. As a result, more advanced methods like SparCC, SPIEC-EASI, etc. are designed. However, these methods are computationally intensive and their superior performance over others haven’t been completely established yet, and hence not supported in ResistoXplorer as of now.

Both Clustering and correlation analyses are performed on normalised data and at different functional levels in ResistoXplorer.

OK! So Now, let’s proceed to next step where you need to actually explore and perform clustering analysis on resistome data to complete a hands-on exercise.

This article is from the free online

Exploring the Landscape of Antibiotic Resistance in Microbiomes

Created by
FutureLearn - Learning For Life

Our purpose is to transform access to education.

We offer a diverse selection of courses from leading universities and cultural institutions from around the world. These are delivered one step at a time, and are accessible on mobile, tablet and desktop, so you can fit learning around your life.

We believe learning should be an enjoyable, social experience, so our courses offer the opportunity to discuss what you’re learning with others as you go, helping you make fresh discoveries and form new ideas.
You can unlock new opportunities with unlimited access to hundreds of online short courses for a year by subscribing to our Unlimited package. Build your knowledge with top universities and organisations.

Learn more about how FutureLearn is transforming access to education