getRTdf: Calculates global alignment between RT of two runs

View source: R/get_global_fit.R

getRTdfR Documentation

Calculates global alignment between RT of two runs

Description

This function selects features from oswFiles which has m-score < maxFdrLoess. It fits linear/loess regression on these feature. Retention-time mapping is established from reference to experiment run.

Usage

getRTdf(features, ref, eXp, maxFdrGlobal)

Arguments

features

(list of data-frames) it is output from getFeatures function.

ref

(string) Must be a combination of "run" and an iteger e.g. "run2".

eXp

(string) Must be a combination of "run" and an iteger e.g. "run2".

maxFdrGlobal

(numeric) A numeric value between 0 and 1. Features should have m-score lower than this value for participation in global fit.

Value

A data-frame

Author(s)

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

ORCID: 0000-0003-3500-8152

License: (c) Author (2021) + GPL-3 Date: 2019-03-01

See Also

getGlobalAlignment

Examples

data(oswFiles_DIAlignR, package="DIAlignR")
df <- getRTdf(features = oswFiles_DIAlignR, ref = "run1", eXp = "run2", maxFdrGlobal = 0.05)

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