-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bugs in adonis2() or pairwise.adonis2() #539
Comments
Details, please. I think you do something wrong, and it may be useful to see what you did. Please details. In particular, we need a reproducible example. If you have concerns about |
Here is the code I used to analyze weighted UniFrac Distance: |
Hi, I added my code |
Can you elaborate how you come to this conclusion? Two possibilities how that could be explained come to my mind:
And please provide us with an reproducible example? |
In addition to the reasons that @Edild gave, a very common reason for apparent discrepancy between This is all wild speculation, as we do not yet have a reproducible example. Not even the output of the analysis, or information on data sizes and factors. |
I think there really is no need to post detailed information or reproducible example (against my earlier wish). The methods implemented in Both methods are based on permutation of the data, but these are implemented in different ways. Vegan implements pairwise permutation tests only for There is also minor issue of number permutations when some classes have only a few elements. When you take only two factor levels, many of the permutations define identical classifications. For instance, in the |
|
I got a p-value>0.05 based on adonis2() , but when I tried to make comparisons between every two groups using code pairwise.adonis2(), some of the p-value <0.05. I believe there are bugs in either adonis2() or pairwise.adonis2(). Hope it can be fixed.
The text was updated successfully, but these errors were encountered: