rt2ri: Retention Time to Retention Time Index convertion

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

Description

Convert retention times to retention indices based on observed FAME RI and their standard values.

Usage

1
rt2ri(rtTime, observed, standard)

Arguments

rtTime

The extracted RT's to convert

observed

The observed FAME RT's

standard

The standard RI for each FAME

Details

Linear interpolation, interpolation outside bounds are done with continued linear interpolation from the last two FAME's

Value

The converted RI

Author(s)

Alvaro Cuadros-Inostroza, Matthew Hannah, Henning Redestig

See Also

RIcorrect, FAMEoutliers

Examples

1
2
3
4
5
6
7
8
  # RI standards
  standard <- c(100, 200, 300, 400, 500)
  # observed standard retention times
  observed <- c(10.4, 19.3, 32.4, 40.2, 50.3)
  # a random set of retention times
  RT       <- runif(100,1,60)	
  # the corrected RIs
  RI       <- rt2ri(RT, observed, standard)

Example output

Loading required package: ncdf4
Warning message:
no DISPLAY variable so Tk is not available 

TargetSearch documentation built on March 12, 2021, 2 a.m.