pub fn model_matrix(
cy3: &[&str],
cy5: &[&str],
param: ModelParam<'_>,
) -> Result<ModelMatrix>Expand description
Port of modelMatrix(targets, parameters=, ref=). cy3/cy5 are the green
and red channel target names for each array. Returns the design matrix
zapsmall(t(solve(crossprod(P), crossprod(P, J))), 14), where J[t,a]
is +1 if target t is the Cy5 sample of array a, -1 if it is the
Cy3 sample, and P is the parameter matrix.