ncdf4_update_ri {TargetSearch} | R Documentation

## Update retention time index on a NCDF4 file

### Description

Performs retention time index (RI) correction on a CDF file, using the retention markers found by `RIcorrect()`, or to force the markers time if, for example, the RI markers were not co-injected with the biological samples. It wraps around `rt2ri()`

### Usage

    ncdf4_update_ri(cdfFile, observed, standard)

### Arguments

`cdfFile` | Path to the CDF file
`observed` | The observed RI markers retention times'.
`standard` | The RI of said markers.

### Details

This function is similar to `fixRI()`, with the difference that is acts upon a single file, whereas `fixRI()` requires a tsSample object.

### Value

Returns `invisible`

### Note

This function is meant to be used internally. It is exposed for convenience.

### Author(s)

Alvaro Cuadros-Inostroza

### See Also

`fixRI()`, `RIcorrect()`

[Package TargetSearch version 1.43.3 Index]