Replies: 1 comment 2 replies
-
Hi @aston9090, I have reviewed the syntax you provided and have noticed the issue that may be causing problems. It is important to specify the parenthesis for Please let me know if you have any further questions or concerns. Best regards, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Thank you for developing and maintaining the ANCOMBC package!
I have been trying to analyse microbiome data. In the data, there are 5 groups, and each group contains 2 species, meaning that there are 10 different species in total. I would like to compare the abundance of microbes across groups while accounting for species (which explains more than 50% of variations). I tried to run ancombc2 and got an error message. Please see below.
ANCOMBC2<-ancombc2(data=data, fix_formula = "Group", rand_formula = "1|Species", group= "Group" ,global = T, tax_level = "phylum")
Error in dimnames(x) <- dn :
length of 'dimnames' [2] not equal to array extent
In addition: There were 50 or more warnings (use warnings() to see the first 50)
Warning messages:
1: Model failed to converge with 8 negative eigenvalues: -9.1e-05 -1.0e-04 -1.0e-04 -1.0e-04 -1.0e-04 -3.4e-04 -3.5e-04 -3.5e-04
2: Model failed to converge with 2 negative eigenvalues: -8.1e-05 -8.1e-05
...
Any help and suggestions are greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions