"unused argument" error metaMS
1
0
Entering edit mode
@ffvandenberg-21488
Last seen 4.8 years ago

Hi,

When running the runCAMERA script from the metaMS package I encountered an error that did not show before:

> TOF.GC <- metaMSsettings("protocolName" = "TSQXLS.QQQ.GC",
+                             "chrom" = "GC",
+                             PeakPicking = list(
+                               method = "centWave",
+                               ppm = 40,
+                               peakwidth=c(0.6,1.4),
+                               mzdiff=0.01,
+                               snthresh=6,
+                               prefilter=c(3,100),
+                               integrate=1,
+                               noise=0),
+                             CAMERA = list(ppm = 5),
+                          Alignment = list(
+                            bws = 5,
+                            min.class.fraction = .5,
+                            min.class.size = 1,
+                            max = 100,
+                            mzwid = 0.025,
+                            Retcor = list(method = "obiwarp",
+                                          profStep = 1)
+                          ))

> GCset <- peakDetection(cdffiles, settings = metaSetting(TOF.GC, "PeakPicking"),
                       convert2list = TRUE, nSlaves = 2)
> allSamples <- lapply(GCset, runCAMERA, chrom = "GC",
+                      settings = metaSetting(TOF.GC, "CAMERA"))
Error in (new("standardGeneric", .Data = function (object, sigma = 6,  : 
  unused argument (ppm = 1)

Last week this error did not show up running the same code. Could you please help me fix this error?

Best,

Fons

metaMS • 627 views
ADD COMMENT
0
Entering edit mode
ron.wehrens ▴ 20
@ronwehrens-7060
Last seen 6.5 years ago
Netherlands

Hi Fons,

could you send me a minimal reproducible example? Ron

ADD COMMENT

Login before adding your answer.

Traffic: 464 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6