Skip to content
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

PERMANOVA in adonis2: correct use of factors #575

Open
AylenM opened this issue May 8, 2023 · 0 comments
Open

PERMANOVA in adonis2: correct use of factors #575

AylenM opened this issue May 8, 2023 · 0 comments

Comments

@AylenM
Copy link

AylenM commented May 8, 2023

Hi!
I'm really lost because I have read very different things of the same topic.
I have a continous variable of interest (X), but also factors that I think they can affect my results (for me the most interesting factor is Sampling site). So, I have made this formula for adonis2:
adonis2(X ~ SamplingSite + Year + Sex + Age + SampleType, data=mydata,method = "euclidean", permutations = 99999)
(Sampling site has 2 levels, Year has 4 categories, Sex has 2, Age has 2, Sample type has 2)

-Are these factors "fixed" in this way?
-Is this formula right? I know that changing order makes results to be different. Maybe because not all factors have exactly the same n by category? My total n is also <30

Any help/advice/suggestions would be greatly appreciated!!
Thank you in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant