mappedRTfromAlignObj: Map reference run time on the experiment run.

View source: R/post_alignment.R

mappedRTfromAlignObjR 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[["hroest_K120809_Strep0%PlasmaBiolRepl2_R04_SW_filt"]][["4618"]][[1]][, "time"]
tVec.eXp <- XIC_QFNNTDIVLLEDFQK_3_DIAlignR[["hroest_K120809_Strep10%PlasmaBiolRepl2_R04_SW_filt"]][["4618"]][[1]][, "time"]
## Not run: 
AlignObj <- testAlignObj()
mappedRTfromAlignObj(refRT= 5238.35, tVec.ref, tVec.eXp, AlignObj)

## End(Not run)

shubham1637/DIAlign documentation built on March 27, 2023, 7:12 a.m.