mappedRTfromAlignObj {DIAlignR} | R Documentation

## Map reference run time on the experiment run.

### Description

Retention time from reference run is mapped to experiment run using AlignObj.

### Usage

    mappedRTfromAlignObj(refRT, tVec.ref, tVec.eXp, AlignObj)

### Arguments

`refRT` | (numeric) retention time in reference run.
`tVec.ref` | (numeric) time vector of refernce run.
`tVec.eXp` | (numeric) time vector of experiment run.
`AlignObj` | (S4 object) must have indexA_aligned, indexB_aligned and score as slots.

### Value

(numeric)

### Author(s)

Shubham Gupta, shubh.gupta@mail.utoronto.ca

ORCID: 0000-0003-3500-8152

License: (c) Author (2019) + GPL-3 Date: 2019-12-13

### Examples

    data(XIC_QFNNTDIVLLEDFQK_3_DIAlignR, package="DIAlignR")
    tVec.ref <- XIC_QFNNTDIVLLEDFQK_3_DIAlignR[["run1"]][["14299_QFNNTDIVLLEDFQK/3"]][[1]][, "time"]
    tVec.eXp <- XIC_QFNNTDIVLLEDFQK_3_DIAlignR[["run2"]][["14299_QFNNTDIVLLEDFQK/3"]][[1]][, "time"]
    ## Not run:
    AlignObj <- testAlignObj()
    mappedRTfromAlignObj(refRT= 5238.35, tVec.ref, tVec.eXp, AlignObj)

    ## End(Not run)

[Package DIAlignR version 1.2.0 Index]