getRI: Generate a calibration function

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/getRI.R

Description

This function generates a calibration function which can be used to calculate the retention index of a compound, given its retention time together with the retention indexes of RI standards and their retention times.

Usage

1

Arguments

RItable

a data frame of retention times and indexes of RI standardsPeaks, e.g. generated by calling getRIStandard.

Details

The input of this function is an RItable. RItable is the table of RTs and correponding RIs of RI standards measured using an RI run. The user can get the RItable using the getRIStandard function. The output of this function is a function which can be used for retention index calculation providing a retention time. It also enables the user to estimate the retention time of a provided retention index.

Value

A calibration function which accepts a retention time and outputs corresponding retention index. The user can also provide a retention index and estimate the related retention time based on RI calibration.

Author(s)

Mo Nezami Ranjbar

References

http://omics.georgetown.edu/SIMAT.html

See Also

getRIStandard

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
    # load retention index table from RI standards
    data(RItable)

    # create a calibration function
    calibRI <- getRI(RItable)
    
    # perform RI calibration for a certain RT = 12.32min
    calibRI(12.32)
    
    # estimate the RT of an RI based RI calibration
    calibRI(ri = 1150)

SIMAT documentation built on Nov. 8, 2020, 8:27 p.m.