calcWeight
Calculate weights for a set of internal controls
Usage
calcWeight(x, ctVal = TRUE, weight_method = "geom_sd_plus")
Arguments
x a matrix with each row corresponding to an internal control
ctVal a boolean specifying the input matrix being in qPCR CT values (T) or normalized high-throughput data (F)
weight_method a string defining the optimization method to calculate weights. choose one of 'geom_sd_plus', 'geom_sd', 'geom_cv', 'arith_sd', 'arith_cv', 'arith', 'geom', 'random'
Value
a vector containing the weights of each internal control
Examples
x <- matrix(1:6, 2, 3)
w <- calcWeight(x, TRUE, 'geom')