Hi,
When running the following code in R:
mSet<-InitDataObjects("conc", "stat", FALSE)
mSet<-Read.TextData(mSet, "./Pipeline/Averaged_Log2_VSN.csv", "colu", "disc");
mSet<-SanityCheckData(mSet)
mSet<-ReplaceMin(mSet);
mSet<-SanityCheckData(mSet)
mSet<-FilterVariable(mSet, "none", -1, "F")
mSet<-PreparePrenormData(mSet)
mSet<-Normalization(mSet, "NULL", "NULL", "NULL", ratio=FALSE, ratioNum=20)
mSet<-SPLSR.Anal(mSet, 3, 10, "same", "Mfold")
mSet<-PlotSPLSPairSummary(mSet, "spls_pair_1_", "png", 72, width=NA, 3)
I get the following error:
Error in compiler::loadcmp(“…/…/rscripts/MetaboAnalystR/R/stats_spls.Rc”) :
file ‘…/…/rscripts/MetaboAnalystR/R/stats_spls.Rc’ does not exist
This error only seems to occur when using MetaboAnalystR 4.0. When I install MetaboAnalystR 3.0.3, the code successfully runs. However, the output for the sPLS-DA differs from the output using the online version of MetaboAnalyst (Both sPLS-DAs were run with the same dataset, normalization, and sPLS-DA functions). Any help would be much appreciated! I have a hunch that the error may be due to an M1 Mac. I am currently testing the same code on a windows computer.