Get optimal span value for QC-RLSC normalization
Usage
optimal_span(qc_data, lam = c(1, 2))
Arguments
- qc_data
data.frame of only the QC samples from one block/batch, where
the first column gives the run order and the second column gives the
abundance value
- lam
vector of (numeric) possible polynomial degrees to test in the
loess fitting; defaults to 1,
Value
list containing elements for: Lambda, Alpha, MSE
Details
This internal function is called by the get_params
function
Author
Lisa Bramer, Kelly Stratton