the following code:
myCollection <- getCollection(DiabImmune, '16S (V4) Species')
differentialAbundanceResults <- differentialAbundance(
myCollection,
"breastfed_duration_days",
groupA = function(x) {x < 300},
groupB = function(x) {x >= 300},
method = 'Maaslin2')
sometimes produces this error:
Error in data.table::setnafill(df, fill = 0, cols = cols) :
argument specifying columns received duplicate column(s)
and sometimes appears to not.. hard to diagnose until we manage to consistently repro.