statdivlab/corncob

Differential tests do not recognise groups with zero reads

Closed this issue · 2 comments

Hi,

I noticed when running differential tests with corncob that it does not recognise any significant differences between groups when there is an ASV which is highly abundant in one group but not present at all in the other group. Is there any way around this?

thanks,
Trent

Hi Trent,

Could you give an example of the kind of hypothesis you are interested in testing? In this case, you have no data in one group, so you can't estimate parameters associated with that group. corncob explicitly filters for that, you can see the details in the documentation, check out filter_discriminant for example.

If the group is of primary interest, you can try switching from Wald to LRT in the test option. However, this will come with the disclaimer that you have to be careful on fitting models for empty groups!