try to follow step by step here : https://new.metaboanalyst.ca/docs/RTutorial.xhtm.
My system: ( testing on desktop first )
– 24.04.2-Ubuntu
– R version 4.3.3
– MetaboAnalystR_4.0.0
error 1:
mSet ← PlotPCA2DScore(mSet, “pca_score2d_0_”, “png”, 72, width=NA,style = 2, 1,2,0.95,0,0)
checked this function, no style parameter. After removed it, works.
error 2:
mSet ← Read.BatchDataTB(mSet, “new_normalized_set.csv”, “row”)
error : argument “missingEstimate” is missing, with no default
I used
Read.BatchDataTB(mSet, “new_normalized_set.csv”, “row”, 0) ## missingEstimate= 0??
and ok
What kind of value should be used here?
error 3: should upload this file to internet
data_corrected <- read.csv("/home/xialab/Documents/MetaboAnalyst_batch_data.csv")
Thanks.