I am trying to run melonnpan.train on several sets of measured microbes and metabolites. Running your example works for me, but on my own data sets I get one of these two error messages (depending on which dataset I’m using):
Error in ztransform(formula, data, family) : trait is monomorphic
Error in ztransform(formula, data, family) : trait is binary
What is causing this and how could I fix this?