peakpickingParameters <- getDefaultXcmsSetStartingParams('centWave')
time.xcmsSet <- system.time({ # measuring time
resultPeakpicking <- optimizeXcmsSet(files = files,
params = peakpickingParameters,
nSlaves = nSlaves,
subdir = NULL,
plot = TRUE)
})
optimizedXcmsSetObject <- resultPeakpicking$best_settings$xset
retcorGroupParameters <- getDefaultRetGroupStartingParams(retcorMethod="loess")
time.RetGroup <- system.time({ # measuring time
resultRetcorGroup <- optimizeRetGroup(xset = optimizedXcmsSetObject,
params = retcorGroupParameters,
nSlaves = 1,
subdir = NULL,
plot = TRUE)
})
Error in plot.new() : figure margins too large
12. plot.new()
11. plot.default(xlim, ylim, xlim = xlim, ylim = ylim, type = "n",
xaxs = xaxs, yaxs = yaxs, xlab = xlab, ylab = ylab, ...)
10. plot(xlim, ylim, xlim = xlim, ylim = ylim, type = "n", xaxs = xaxs,
yaxs = yaxs, xlab = xlab, ylab = ylab, ...)
9. image.default(x = c(1, 1.08, 1.16, 1.24, 1.32, 1.4, 1.48, 1.56,
1.64, 1.72, 1.8, 1.88, 1.96, 2.04, 2.12, 2.2, 2.28, 2.36, 2.44,
2.52, 2.6, 2.68, 2.76, 2.84, 2.92, 3), y = c(1, 1.08, 1.16, 1.24,
1.32, 1.4, 1.48, 1.56, 1.64, 1.72, 1.8, 1.88, 1.96, 2.04, 2.12, ...
8. image(x = c(1, 1.08, 1.16, 1.24, 1.32, 1.4, 1.48, 1.56, 1.64,
1.72, 1.8, 1.88, 1.96, 2.04, 2.12, 2.2, 2.28, 2.36, 2.44, 2.52,
2.6, 2.68, 2.76, 2.84, 2.92, 3), y = c(1, 1.08, 1.16, 1.24, 1.32,
1.4, 1.48, 1.56, 1.64, 1.72, 1.8, 1.88, 1.96, 2.04, 2.12, 2.2, ...
7. do.call("image", args)
6. contour.lm(model, plots, image = TRUE, at = maximum_slice)
5. contour(model, plots, image = TRUE, at = maximum_slice)
4. plotContours(model = retcor_result$model, maximum_slice = tmp,
plot_name = NULL)
3. retGroupExperimentStatistic(retcor_result = retcor_result, subdir = subdir,
plot = plot, iterator = iterator, xset = xset)
2. optimizeRetGroup(xset = optimizedXcmsSetObject, params = retcorGroupParameters,
nSlaves = 1, subdir = NULL, plot = TRUE)
1. system.time({
resultRetcorGroup <- optimizeRetGroup(xset = optimizedXcmsSetObject,
params = retcorGroupParameters, nSlaves = 1, subdir = NULL,
plot = TRUE) ...