Getting error message in R

Hi,

"I attempted to perform MetaboAnalyst in R using my CSV file that contains peak intensity information of annotated metabolites. However, I encountered an error message at the beginning stating that:

“Error in *tmp*$dataSet : $ operator is invalid for atomic vectors”

Does anyone know how I could resolve this issue? Below you can see the script I used.

pktable<-vroom(here(“230216_plasma_GCMS.csv”))
mSet<-InitDataObjects(“pktable”, “stat”, FALSE)
mSet<-SanityCheckData(mSet)
mSet<-ReplaceMin(mSet)
mSet<-PreparePrenormData(mSet)

Thank you in advance

Please read and follow our post guidelines

1 Like