qc_rlsc: QC based robust LOESS signal correction (QC-RLSC)

View source: R/mt_extra_qc.R

qc_rlscR Documentation

QC based robust LOESS signal correction (QC-RLSC)

Description

QC based robust LOESS (locally estimated scatterplot smoothing) signal correction (QC-RLSC)

Usage

qc_rlsc(x, y, method = c("subtract", "divide"), opti = TRUE, ...)

Arguments

x

A data frame with samples (row) and variables (column).

y

A vector with string of "qc" and "sample".

method

Data scaling method.

opti

A logical value indicating whether or not optimise 'span'

...

Other parameter for 'loess'.

Value

A corrected data frame.

References

Dunn et al. Procedures for large-scale metabolic profiling of serum and plasma using gas chromatography and liquid chromatography coupled to mass spectrometry. Nature Protocols 6, 1060–1083 (2011)


wanchanglin/mtExtra documentation built on Aug. 2, 2024, 5:47 p.m.