getNormalizedResponse: It combines Retention time Correction Scores (RCS) and...

View source: R/optimizeRetCorGroupParameters.R

getNormalizedResponseR Documentation

It combines Retention time Correction Scores (RCS) and Grouping Scores (GS)

Description

This function does unity based normalization on Retention time Correction Scores (RCS) as well as Grouping Scores (GS).

Usage

getNormalizedResponse(response)

Arguments

response

A List of all responses calculated by getRGTVValues for all experiments of an Design of Experiment

Details

Grouping Score (GS) is calculated by:
'good groups'^2/'bad groups

For all RCS and GS values unitiy based normalization is done. For every experiment within the DoE these two values are added together and returned.

Value

A vector with RTGV values

Note

Since RCS and GS can be within completely different ranges, normalization has to be done to prevent an excessive influence of either RCS or GS.

Author(s)

Gunnar Libiseller

See Also

getRGTVValues

Examples



mtbls2files <- list.files(file.path(find.package("mtbls2"), "mzML"), 
                          full.names=TRUE)

params <- list(min_peakwidth=12, max_peakwidth=30, ppm=30,
                  mzdiff=-0.001, snthresh=10, noise=10000, prefilter=3, 
                  value_of_prefilter=100,  mzCenterFun="wMean", integrate=1, 
                  fitgauss=FALSE, verbose.columns=FALSE, nSlaves=2)

xset <- calculateXcmsSet(mtbls2files[1:2], params)
xset <- retcor(xset, method="obiwarp")
xset <- group(xset)

result <- getRGTVValues(xset)
result


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