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.

Value

A calibration function which accepts a retention time and outputs corresponding retention index.

Author(s)

Mo Nezami Ranjbar

References

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

See Also

getRIStandard

Examples

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

    # create a calibration function
    calcRI <- getRI(RItable)
    
    # perform RI calibration for a certain RT = 7.32min
    calcRI(12.32)

SIMAT documentation built on May 31, 2017, 3:13 p.m.

Search within the SIMAT package
Search all R packages, documentation and source code