splineSmoother: Cubic smoothing spline fitting function for batch effect...

Description Usage Arguments Value

View source: R/sbc_methods.R

Description

Cubic smoothing spline fitting function for batch effect correction

Usage

1
splineSmoother(x, y, newX, log = log, a = 1, spar, verbose = FALSE)

Arguments

x

QC sample measurement order indices.

y

Signal intensities.

newX

Range of sample indices to predict.

log

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

a

log scaling offset.

spar

Smoothing parameter of the fitted curve. Should be in the range 0 to 1. If set to 0 it will be estimated using leave-one-out cross-validation.

verbose

If set to TRUE will return messages from smooth.spline fit funtion

Value

vector of cubic smoothing spline fitted values


computational-metabolomics/sbcms documentation built on June 17, 2021, 12:22 a.m.