Closed ococrook closed 3 years ago
I think the method for pickPeaks is missing a ... argument
...
I would expect span = 0.2 to be passed to the function noise
span = 0.2
noise
peaksMethod = "SuperSmoother" snr <- 2 object_sub <- Spectra::pickPeaks(object_sub, method = peaksMethod, halfWindowSize = halfWindowSize, snr = snr, k = 0L, descending = FALSE, threshold = 0, msLevel = 1, span = 0.2)
Error in .local(object, ...) : unused argument (span = 0.2)
Thanks for reporting! (and sorry for the delay) - I'll look into this.
Version 1.1.11 fixes this. Please close the issue after veryfying that it works for you.
This works for me, thanks!
I think the method for pickPeaks is missing a
...
argumentI would expect
span = 0.2
to be passed to the functionnoise
Error in .local(object, ...) : unused argument (span = 0.2)