Issues with MetaboAnalystR - PerformPSEA error

I am trying to run the functional pathway with MetaboanalystR in RStudio. I am using the example dataset “Covid-19” (https://www.metaboanalyst.ca/MetaboAnalyst/resources/data/A3_pos.csv) found on the Metaboanalyst website.

I am encountering an error at:
mSet<-PerformPSEA(mSetObj=mSet, “hsa_mfn”, “current”, 3 , 100)
Error in UseMethod(“melt”, data) :
no applicable method for ‘melt’ applied to an object of class “character”

This problem seem to only occur with using Peak intensity table with retention time. That function (PerformPSEA) seem to work with Peak intensity table without retention time, when i ran it with the other example dataset “Immune cell” (https://www.metaboanalyst.ca/MetaboAnalyst/resources/data/mummichog_immu_table.csv)

Thank you

1 Like