Bray Curtis PCoA is a method that combines Bray Curtis dissimilarity and Principal Coordinates Analysis (PCoA), widely used in ecology, microbiology, and other community ecology research fields to analyze and visualize differences in community composition between samples.
Input
Gene abundance table
A tab separated text file containing row and column names, with each column representing a sample and each row representing a feature (gene, species, metabolite,etc.).

Group Information Table
A tab separated text file containing row and column names, with column names fixed at (SampleID, Category). The first column is the sample name, and the second column is the corresponding group for the sample.

Output

The samples in the same group in the figure use the same color and pattern. The closer the distance between two samples, the more similar the species composition structure. Therefore, samples with high community structure similarity tend to cluster together, while samples with significant community differences will be far apart。The value of R ranges from 0 to 1, and the closer it is to 1, the greater the impact of grouping variables on the data. The F-value measures the ratio of inter group differences (sum of squares between groups) to intra group differences (sum of squares within groups). The larger the F-value, the more significant the inter group differences are compared to the intra group differences. P=0.001 indicates that there is only a 0.1% probability in the permutation test that the difference is due to randomness, indicating that grouping has a significant impact on the distance between samples.