I want to report some functions of MetaboAnalystR 3.2.0 stop working . I got errors with OPLS-DA functions: Error in PlotOPLS.Imp(mSet, “opls_imp_0_”, “png”, 72, width = NA, “vip”, : could not find function “PlotOPLS.Imp”. And also for OPLSDA.Permut function: Error in if (mSetObj$analSet$opls.reg) {: argument is of length zero. I also tried example data (MS peak intensities) and then reproduced same errors.
My analysis was run on a server (HPC system). I am not sure if it is relevant. Thank you!
Thanks for reporting this issue. I have exported the function PlotOPLS.Imp. You can use it directly now.
As for the “length of zero” issue, that maybe related with the error in the previous step. Please check your steps or share a reproducible example (commands of line-by-line from the begining) with me for further checking.