Arguments
M
numeric matrix containing log-ratio or log-expression values for a series of microarrays, rows correspond to genes and columns to arrays
design
numeric design matrix defining the linear model. The number of rows should agree with the number of columns of M. The number of columns will determine the number of coefficients estimated for each gene.
ndups
number of duplicate spots. Each gene is printed ndups times in adjacent spots on each array.
spacing
the spacing between the rows of M
corresponding to duplicate spots, spacing=1
for consecutive spots
weights
an optional numeric matrix of the same dimension as M
containing weights for each spot. If it is of different dimension to M
, it will be filled out to the same size.