Here is my Rhistory on MetaboanalystR:
mSet<-InitDataObjects(“pktable”, “stat”, FALSE)
mSet<-Read.TextData(mSet, “/Users/caoyumei/Documents/lcms_table.csv”, “colu”, “disc”);
mSet<-SanityCheckData(mSet)
mSet<-SanityCheckData(mSet)
mSet<-ReplaceMin(mSet);
mSet<-SanityCheckData(mSet)
mSet<-SanityCheckData(mSet)
mSet<-FilterVariable(mSet, “F”, 25, “none”, -1, “mean”, 0)
mSet<-PreparePrenormData(mSet)
mSet<-Normalization(mSet, “NULL”, “LogNorm”, “ParetoNorm”, ratio=FALSE, ratioNum=20)
mSet<-PlotNormSummary(mSet, “norm_0_”, “png”, 300, width=NA)
mSet<-PlotSampleNormSummary(mSet, “snorm_0_”, “png”, 300, width=NA)
mSet<-Normalization(mSet, “NULL”, “LogNorm”, “ParetoNorm”, ratio=FALSE, ratioNum=20)
mSet<-PlotNormSummary(mSet, “norm_1_”, “png”, 300, width=NA)
mSet<-PlotSampleNormSummary(mSet, “snorm_1_”, “png”, 300, width=NA)
and then i run the orthoPLS-DA analysis: “mSet<-OPLSR.Anal(mSet, reg=TRUE)”, it shows fetal error, R Session Aborted, and the global environment is cleaned. I don’t know what’s going on.
Please let me know if you have any ideas! Thanks a lot!