bioFAM / MOFA2

Multi-Omics Factor Analysis
https://biofam.github.io/MOFA2/
GNU Lesser General Public License v3.0
283 stars 49 forks source link

names(MOFAobject@expectations) keeps showing NULL #136

Closed squirrelB closed 7 months ago

squirrelB commented 7 months ago

Hi. I'm on R version 4.1.1. I've tried run_mofa() using my own data, and the CLL. It looks like it runs, and I get the "Converged!" And "Training Finished" messages.

But the expectations slot seems empty. (see attached screen shot). How do I resolve [this?]

Screenshot 2023-11-11 at 8 40 01 PM
gtca commented 7 months ago

Hey @squirrelB,

Could you show your prepare_mofa() and run_mofa() lines here as well?

squirrelB commented 7 months ago

Hi. Issue has been resolved! :) I emailed Ricard and he responded, and advised that I have an outfile, which I had not. So run_mofa(MOFAobject, outfile=$file), and that made it work!

Thank you so much for responding.