align_rt: Align retention times to a reference data set

align_rtR Documentation

Align retention times to a reference data set

Description

Aligns all retention times to a reference data set using the times from the Feature apex column. The loess function from the stats package is used for the alignment.

Usage

align_rt(x, model, var_name)

Arguments

x

A data.table output from the infer_prot function.

model

A list containing the model output by the loess function. The elements of this list are the models between the reference data set and every other data set.

var_name

A character string. The name of the retention time variable that will be aligned with the reference data set (e.g., Feature apex).

Value

A data.table with the retention times aligned to a reference data set.

Author(s)

Evan A Martin


evanamartin/TopPICR documentation built on Dec. 9, 2022, 8:05 p.m.