mappedRTfromAlignObj: Map reference run time on the experiment run.

Description Usage Arguments Value Author(s) Examples

View source: R/post_alignment.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
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)

DIAlignR documentation built on Nov. 8, 2020, 8:22 p.m.