【Analysis of community similarity】
The similarity index is a continuous expression of the difference between two communities, with 100% for the case where the species composition and the number of individuals of each species occurring in the two communities are exactly the same and 0% for the case where they are completely different (not a single common species). Although many different methods have been developed, we will use the Bray-Curtis similarity index shown in the equation below.

Sjk: The similarity between the jth sample and the kth sample
Yij: Number of individuals of the ith species in the jth sample (present and coverage)
The similarity index is a value obtained between pairs of every two communities, so for a data set consisting of n samples, a similarity of n(n-1)/2 is obtained. The representation of this in the form of a match table is called a similarity matrix.
Many methods have been developed to visually represent similarity relationships between communities based on similarity matrices. There are two main types of methods: 1) clustering (cluster analysis), which classifies (divides) clusters according to the magnitude of similarity, and 2) ordination, which plots the differences in similarity between clusters in a 2-dimensional (3-dimensional) space as the difference in distance. Although knowledge of multivariate statistical analysis is necessary to understand the characteristics, advantages, and disadvantages of each method, here we will classify communities by cluster analysis, which is relatively simple. Cluster analysis arranges the locations of communities so that more similar communities are located closer together. There are many ways to do this, but in this article, we will introduce the linkage method using group-average linkage, which can be done by hand calculation.