Open emnilsson opened 1 year ago
Hello @emnilsson,
I appreciate you flagging this issue for me.
The notable differences you've observed before and after the major update can be reviewed in this post.
It's possible that the primary factor contributing to the discrepancies in your results is related to how zeros are handled. I would suggest trying a manual addition of 1 to your data and then rerunning ancombc2
to determine if this step helps replicate your original results. If it does, it would also be helpful to know the sparsity of your data.
Please don't hesitate to reach out if you encounter any further issues.
Best regards, Huang
Hi Huang!
Thank you very much for your reply, and I'm sorry for getting back to you so late. I just tried rerunning by adding a 1 to all my counts, but this did not change the outcome for res_global and res_pair (but I do keep a lot more families, going from 488 to 1293). I did not change my code in any other way, but I did upgrade to v2.4.0. Could it have something to do with my formula? Or is it likely to do with my dataset?
Cheers, Emelie.
Hi there!
I like the functions from ANCOMBC2, such as performing multigroup-comparisons, but I might be doing something wrong. I've run
2.0.2
and it worked out well, but since I discovered that it was quite severely outdated I've now run2.2.2
. However, I'm a bit concerned about the output.I have a dataset with ASVs that originate from three different locations that are sampled at 9 timepoints, at this stage I'm primarily interested in the differences between the groups, but I like to add the dates as a random factor. Therefore, I've run:
And it runs through. In the output I get significant different families both according to
diff
andpassed_ss
if I look underres
, and also if I look atres_dunn
and even forres_trend
. But when I look underres_global
all values forW
are 0,p_val
are NA,q_val
are 1, anddiff_abn
are FALSE. I get somepassed_ss
, though, about 20%. This is similar for when looking atres_pair
, but there I get different values forW
,lfc
, andse
, just that nothing is significant (p_val
are all 1).I'm rerunning the analysis at the moment, so not sure if I'll get warnings or not, but when I ran more or less the same thing but at lowest level (
tax_level=NULL
,neg_lb=FALSE
) I got the following warnings fromwarnings()
:And the last one was repeated 46 times. (Running on the lowest level produced the same results/no-results as on family-level.)
Any idea what is going on? Or how I can troubleshoot? I would very much want to have the
res_pair
output.Cheers, Emelie.