Learn R Programming

survJamda (version 1.1.4)

build.design: Initiation to build the design matrix

Description

Initiation to build the design matrix.

Usage

build.design(vec, des = NULL, start = 2)

Arguments

vec
Vector of batches in the sample info matrix.
des
Initial value of design matrix
start
Starting index of design matrix.

Value

Design matrix

Warning

This function is not called by the user directly.

References

W. Johnson E., L. Chen, Rabinovic, and A. Adjusting batch effects in microarray expression data using Empirical Bayes methods. Biostatistics, 8(1):118-127, January2007. ISSN 1465-4644.