getLOESSfit: Calculates LOESS fit between RT of two runs

View source: R/get_global_fit.R

getLOESSfitR Documentation

Calculates LOESS fit between RT of two runs

Description

This function uses output of getRTdf that selects features from oswFiles which has m-score < maxFdrLoess. It fits LOESS on these feature. Loess mapping is established from reference to experiment run.

Usage

getLOESSfit(RUNS_RT, spanvalue = 0.1)

Arguments

RUNS_RT

(data-frame) must have three calumns: transition_group_id, RT.eXp, and RT.ref.

spanvalue

(numeric) Spanvalue for LOESS fit. For targeted proteomics 0.1 could be used.

Value

An object of class "loess".

Author(s)

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

ORCID: 0000-0003-3500-8152

License: (c) Author (2019) + GPL-3 Date: 2019-12-14

See Also

getLinearfit, getFeatures, getRTdf

Examples

data(oswFiles_DIAlignR, package="DIAlignR")
## Not run: 
RUNS_RT <- getRTdf(oswFiles = oswFiles_DIAlignR, ref = "run1", eXp = "run2", maxFdrGlobal = 0.05)
Loess.fit <- getLOESSfit(RUNS_RT, spanvalue = 0.1)

## End(Not run)

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