Description Usage Arguments Details Value Author(s) Examples
View source: R/optimizeXcmsSetParameters.R
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'
1 | 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
1 2 3 4 5 6 7 | 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.