rickhelmus / patRoon

Workflow solutions for mass-spectrometry based non-target analysis.
https://rickhelmus.github.io/patRoon/
GNU General Public License v3.0
65 stars 19 forks source link

Error: selectIons() - could not find chromPeaks #68

Closed LeonSaal closed 1 year ago

LeonSaal commented 1 year ago

Hi Rick,

please take a look at the following:

> fGroups <- selectIons(fGroups, components, prefAdduct = "[M+H]+", onlyMonoIso = TRUE)
Error in chromPeaks(obj@xdata) : could not find function "chromPeaks"

I guess the error is caused by a missing xcms:: in front of chromPeaks, I think here: https://github.com/rickhelmus/patRoon/blob/440484dd24522b24f4676d32eb0b2012c9de4165/R/feature_groups-xcms3.R#L214

Kind regards, Leon

rickhelmus commented 1 year ago

Hi Leon,

Many thanks for reporting this and with a fix! :-)