Hello,
I am trying to adjust for batch effects between eleven microbiome studies and their relative abundance data using adjust_batch() but am receiving the following error:
Error in MMUPHin::adjust_batch(feature_abd = CRC_abd, batch = “study”, :
Covariates and batch are confounded!
Is this means that there is some correlation between batches and covariates?
If this helps, I have twelve covariates. I’ve lowered covariates to five by combining some of them (because I thought that problem is that in one study there is more than one covariate) but I received the same error. Finally, when I change covariates into two categories (control and treatment) it works, but in the wrong way because it shows that there is no difference between the two covariates.
Any guidance would be appreciated! Thank you