Pbs with Normalisation / Error in abs(data[data != 0]) non-numeric argument to mathematical function
uqvirg opened this issue · 0 comments
uqvirg commented
Hi,
I tried to run the code of the data camp, the first step worked well but for the normalisation I had the error:
Error in abs(data[data != 0]) :
non-numeric argument to mathematical function
library("MetaboAnalystR")
mSet<-InitDataObjects("conc", "stat", FALSE)
mSet<-Read.TextData(mSet, "http://www.metaboanalyst.ca/MetaboAnalyst/resources/data/human_cachexia.csv", "rowu", "disc");
mSet<-SanityCheckData(mSet);
mSet<-ReplaceMin(mSet);
mSet<-Normalization(mSet, "NULL", "LogNorm", "MeanCenter", "S10T0", ratio=FALSE, ratioNum=20)
Error in abs(data[data != 0]) :
non-numeric argument to mathematical function
Thank you,
Virgg