sbcWrapper: Signal batch correction wrapper function

Description Usage Arguments Value

View source: R/sbc_methods.R

Description

Signal batch correction wrapper function

Usage

1
2
sbcWrapper(id, qcData, order, qcBatch, qcOrder, log = log, spar = spar,
  batch = batch, minQC)

Arguments

id

Feature id.

qcData

Data frame with QC samples.

order

A numeric vector indicating the order in which samples were measured.

qcBatch

QC batch numbers.

qcOrder

QC measurement order.

log

TRUE or FALSE to perform the signal correction fit on the log scaled data. Default is TRUE.

spar

Spline smoothing parameter. Should be in the range 0 to 1. If set to 0 it will be estimated using leave-one-out cross-validation.

batch

A vector indicating the batch each sample was measured in. If only one batch was measured then all values should be set to 1.

minQC

Minimum number of QC samples required for signal correction.

Value

vector of corrected values of selected feature for QC data


computational-metabolomics/sbcms documentation built on Sept. 12, 2019, 8:08 p.m.