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[["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)

Roestlab/DIAlign documentation built on Feb. 25, 2021, 5:18 p.m.