I used adonis2 with the following code
adonis2(df_pathway_f~., bgc_exp_f, permutations = 999, distance = 'bray', by = "margin")
But I got the error
need larger value of 'ncol' as pivoting occurred
I understand this is due to too large size of bgc_exp_f with ~160 columns, anyone has an idea on how to fix it? Thanks in advance!