updateSettings {RMassBank} | R Documentation |
Checks if all necessary fields are present in the current settings
and fills in default values from the RmbDefaultSettings
if required.
updateSettings(settings, warn = TRUE)
settings |
The set of settings to check and update. |
warn |
Whether to update parameters quietly ( |
The updated set of settings.
Important: There is a change in behaviour of RMassBank in certain cases when filterSettings
is not
present in the old settings! The default pre-recalibration cutoff from RmbDefaultSettings
is 10000.
Formerly the pre-recalibration cutoff was set to be 10000 for positive spectra but 0 for negative spectra.
Updating the settings files is preferred to using the updateSettings
function.
Stravs MA, Eawag <michael.stravs@eawag.ch>
## Not run: w@settings <- updateSettings(w@settings) ## End(Not run)