Is there a way to add Linear Regression Lines to Mantel Test?

Hi, I am running Qiime2-2023.7. I ran a mantel test for unweighted unifrac distance matrices between two groups to correlate their populations. Is there a way I can add a linear regression line or a line to show correlation as shown in references below. Almost all papers I see use some sort of a line to represent the correlation

Data generated using QIIME2
QIIME2 mantel test

Reference:

image

QIIME2 Ref

1 Like

Hello again,

Can you share the citation for those figures? I'm interested in methods that compare environmental gradients to changes in microbial community structure.

2 Likes

Hi Colin,

https://www.nature.com/articles/s41598-019-48472-y

1 Like

Hello @macrobiome,

Depending on the visualization library you're using instructions will vary. I would refer to the documentation for the library that you're using.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.