ANCOMBC icon indicating copy to clipboard operation
ANCOMBC copied to clipboard

only 0 in one group => results NA

Open JeremyTournayre opened this issue 10 months ago • 0 comments

Hello,

Thanks for this tool!!

In a pairwise comparison, I have only 0 values for each sample of one group like that:

Taxa                              groupA_sample1  groupA_sample2 groupA_sample3 groupB_sample1    groupB_sample2   groupB_sample3
uncultured_Clostridiaceae          0                0                      0             22                    75               219

The results of the ANCOM BC 2 test give me "NA" for each column:

lfc_(Intercept) lfc_SystemIN se_(Intercept) se_SystemIN  W_(Intercept) W_SystemIN p_(Intercept) p_SystemIN q_(Intercept) q_SystemIN
NA              NA           NA                NA             NA         NA           1               1         1           1

How can I solve this problem? Maybe I have to add pseudovalues to avoid zero?

Cheers, Jeremy Tournayre

JeremyTournayre avatar Mar 17 '25 09:03 JeremyTournayre