patRoon icon indicating copy to clipboard operation
patRoon copied to clipboard

Linking parents and TPs... Error generating the `precursor` object

Open chirsir opened this issue 2 years ago • 2 comments

Hi,

I hope I can get some help with this.

I've been trying to run Non-target screening of predicted TPs. when I run this part of the code adapted from the example workflows (from example 7.3.3 in the handbook): step 4 suspects <- convertToSuspects(TPs)

fGroupsScr <- screenSuspects(fGroups, suspects, adduct = "[M-H]-", onlyHits = FALSE)

step 5 componTP <- generateComponents(fGroupsScr, "tp", TPs = TPs, MSPeakLists = mslists, formulas = formulas) I get this Error : in (function (spec, gn, ana) : object 'precursor' not found I believe the code in step 4 was supposed to generate this object precursor but it didn't. but step 4 ran without any errors

chirsir avatar May 23 '22 23:05 chirsir

Hi @chirsir ,

That's strange! This may be a bug. I am actually close to releasing a new version, perhaps you could try it and see if it works? To install it, run the following:

remotes::install_github("rickhelmus/patRoon@version21")
clearCache("all") # need to recalculate data after upgrade

(you may need to run this outside RStudio if you get errors that filles cannot be replaced during installation).

Thanks, Rick

rickhelmus avatar May 24 '22 10:05 rickhelmus

Hi @rickhelmus,

thank you for the upgrade and update.

thanks

Parviel

chirsir avatar May 24 '22 10:05 chirsir

I guess this is fixed, so closing the issue...

rickhelmus avatar Dec 12 '22 15:12 rickhelmus