View source: R/optimizeXcmsSetParameters.R
getDefaultXcmsSetStartingParams | R Documentation |
This function creates a list of parameters used in the xcmsSet.findPeak-methods
'centWave' and 'matchedFilter'. Per default the following parameters
have a defined range where optimization should start:
'centWave' parameters: 'peakwidth' (split into 'min_peakwidth' and 'max_peakwidth'),
'ppm', 'mzdiff'
'matchedFilter' parameters: 'fwhm', 'snthresh', 'step', 'steps'
getDefaultXcmsSetStartingParams(method = c("centWave", "matchedFilter"))
method |
Either parameters for 'centWave' or 'matchedFilter' should be created |
* Do not delete a parameter from the list returned.
* Optimization of qualitative parameters is not supported yet.
* If you want to optimize additional parameter just set an lower and
an upper bound (e.g. params$snthresh <- c(5,20))
* If you dont want to optimize a parameter set a default value
(e.g. params$snthresh <- 10)
A List of parameters for the xcmsSet.findPeak-methods 'centWave' or 'matchedFilter'
Gunnar Libiseller
params <- getDefaultXcmsSetStartingParams() params$ppm <- 10 params$snthresh <- c(5,15) params params <- getDefaultXcmsSetStartingParams("matchedFilter") params
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.