'Error in creating mofa object when doing multi-omics factor analysis in r

I am doing multi-omics factor analysis in r and after importing csv file of my data and started to make mofa object and found that message "Error in create_mofa_from_df(microbiome) : all(colnames(df) %in% (c("sample", "feature", "value", "group", .... is not TRUE ".

Here's the code I'm using:

MOFAobject_untrained <- create_mofa_from_df(microbiome)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source