I am rusty with my stats knowledge, please correct me if I use the wrong terminology or misunderstand anything.
I am using adonis to perform a permanova test with the script:
nmds.div<- adonis2(nmds.dist ~ Season*Area, data = Type0, permutations = 999, method="bray")
Where Season has three levels (March, May, Sept) and Area has two levels (Pacific, Atlantic). The dependent variable is a distance matrix based on bray-curtis using OTU read counts. I want to see the interaction term(?) between Season and Area but this is what I get:
Df SumOfSqs R2 F Pr(>F)
Season 2 6.4903 0.27066 8.9066 0.001 ***
Residual 48 17.4889 0.72934
Total 50 23.9792 1.00000
When I run the same code format for Cruise and Layer3, the output table works fine and I get the interaction term - probability for Cruise:Layer3. Where Cruise has three levels (KS17, KS14 and HO15) and Layer3 has two levels (euphotic, aphotic).
nmds.div<- adonis2(nmds.dist ~ Cruise*Layer3, data = Type0, permutations = 999, method="bray")
Df SumOfSqs R2 F Pr(>F)
Cruise 2 6.4903090 0.27066356 9.787264 0.001
Layer3 1 0.4029121 0.01680253 1.215168 0.311
Cruise:Layer3 2 2.1654176 0.09030381 3.265409 0.002
Residual 45 14.9206109 0.62223010 NA NA
Total 50 23.9792496 1.00000000 NA NA
Table produced by:
table(Type0$Season, Type0$Area)
Pacific Atlantic
Mar 16 0
May 27 0
Sept 0 8
So, my question is how come the same code works for Cruise*Layer3, but not for Season *Area? Are there restrictions with the independent variables?