PerformParamsOptimization: Perform Parameters Optimization

View source: R/spectra_processing.R

PerformParamsOptimizationR Documentation

Perform Parameters Optimization

Description

This function is used to optimize the critical parameters of peak picking and alignment for the following data processing. It utilizes the trimed data and the internal instrument-specific parameters. Parallel computing will be performed. The number of cores user want to use could be specified.

Usage

PerformParamsOptimization(
  mSet,
  param = NULL,
  method = "DoE",
  ncore = 4,
  running.controller = NULL
)

Arguments

mSet

mSet object, usually generated by 'PerformROIExtraction' or 'PerformDataTrimming' here.

param

List, Parameters defined by 'SetPeakParam' function.

method

Character, method of parameters optimization, including "DoE' only. Default is "DoE". Other method is under development.

ncore

Numeric, CPU threads number used to perform the parallel based optimization. If thers is memory issue, please reduce the 'ncore' used here. For default, 2/3 CPU threads of total will be used.

running.controller

The resuming pipeline running controller. Optional. Don't need to define by hand.

Details

PerformParamsOptimization

Value

will a parameter object can be used for following processing

Author(s)

Zhiqiang Pang zhiqiang.pang@mail.mcgill.ca Jeff Xia jeff.xia@mcgill.ca Mcgill University License: GNU GPL (>= 2)


xia-lab/MetaboAnalystR documentation built on Dec. 23, 2024, 3:44 p.m.