This function transforms the two matrices CN and fracB in one matrix which is used in the lars algorithm. Each signal is weighted
HDlarsbivariate(
CN,
fracB,
y,
weightsCN = 1/apply(CN, 1, sd),
weightsFracB = 1/apply(fracB, 1, sd),
meanCN = 2,
maxSteps,
eps
)
matrix containing copy-number signals. Each row corresponds to a different signal.
matrix containing copy-number signals. Each row corresponds to a different signal.
vector containing the response associated to each signal
vector of length nrow(CN); weights associated to each signal for the copy-number signal
vector of length nrow(fracB); weights associated to each signal for the copy-number signal
value for centering the copy-number signal (default value = 2)
maximum number of steps for the lars algorithm
tolerance
a LarsPath object