typeCastParams: Splits parameters into those which should be optimized and...

View source: R/utils.R

typeCastParamsR Documentation

Splits parameters into those which should be optimized and those which are fixed.

Description

This method takes a list of parameters and returns a list consisting of another two lists; one holding parameters ment for optimization and one holding fixed parameters.

Usage

	typeCastParams(params)

Arguments

params

A list of parameters for an xcms-method

Details

This method takes a list of parameters and returns a list consisting of another two lists; one holding parameters ment for optimization and one holding fixed parameters.

Value

A list of:

to_optimize

A LIST containing all parameters which should be optimized.

no_optimization

A LIST containing all parameters which should not be optimized.

Author(s)

Gunnar Libiseller

See Also

optimizeXcmsSet, optimizeRetGroup

Examples


  params <- getDefaultXcmsSetStartingParams()
  typ_params <- typeCastParams(params)


rietho/IPO documentation built on Dec. 6, 2022, 8:17 a.m.