Description Usage Arguments Value Author(s) See Also Examples
Return a matrix of the sample specific retention indices (RI) based on the correlating selective masses.
1 2 3 |
samples |
A |
Lib |
A |
r_thres |
A correlation threshold. |
columns |
Either |
method |
Normalization method. Options are |
minPairObs |
Minimum number of pair observations. Correlations between two variables are computed using all complete pairs of observations in those variables. If the number of observations is too small, you may get high correlations values just by chance, so this parameters is used to avoid that. Cannot be set lower than 5. |
showProgressBar |
Logical. Should the progress bar be displayed? |
makeReport |
Logical. If |
pdfFile |
The file name where the report will be saved. |
A matrix of correlating selective masses RI. Columns represent samples and rows the median RI of the selective masses.
Alvaro Cuadros-Inostroza, Matthew Hannah, Henning Redestig
ImportSamples
, ImportLibrary
,
medianRILib
, tsLib
, tsSample
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | require(TargetSearchData)
data(TSExample)
# get RI file path
RI.path <- file.path(find.package("TargetSearchData"), "gc-ms-data")
# update RI file path
RIpath(sampleDescription) <- RI.path
# Import Library
refLibrary <- ImportLibrary(file.path(RI.path,'library.txt'))
# get the sample RI
corRI <- sampleRI(sampleDescription, refLibrary, r_thres = 0.95)
# same as above, but changing the correlation threshold and the minimum number
# of observations
corRI <- sampleRI(sampleDescription, refLibrary, r_thres = 0.9,
minPairObs = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.