Description Usage Arguments Details Value Author(s) Examples
View source: R/optimizeRetCorGroupParameters.R
This function calculates the Retention time Correction Score (RCS) of all features within an xcmsSet-object. Also features having exactly one peak from each sample are defined as 'good groups', all others a 'bad groups'.
1 | getRGTVValues(xset, exp_index = 1, retcor_penalty = 1)
|
xset |
|
exp_index |
Experiment-id of the experiment within a Design of Experiments |
retcor_penalty |
Penalty if an error occured with the used retention time correction parameters |
This function calculates the Retention time Correction Score (RCS) of all features within an xcmsSet-object. Also features having exactly one peak from each sample are defined as 'good groups', all others a 'bad groups' which leads to a Grouping Score (GS) by calculating 'good groups'^2/'bad groups'.
a list containing the items exp_index, good_groups, bad_groups, GS and RCS.
Gunnar Libiseller
1 2 3 4 5 6 7 | mtbls2files <- list.files(paste(find.package("mtbls2"), "/mzData", sep=""),
full.names=TRUE)
xset <- xcmsSet(mtbls2files[1:2], method="centWave", peakwidth=(c(12, 30)),
ppm=30, noise=10000)
xset <- retcor(xset, method="obiwarp")
xset <- group(xset)
getRGTVValues(xset)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.