Create a moment matrix of the marker variables and of the regressors by the phenotype variable. For use in regression modelling on the markers.
make.varcov(regressor.matrix, y, subset=is.finite(y), casewt=NULL)A list with components
Moment matrix of the marker regressor variables
Moment matrix of the marker regressor variables versus the phenotype variable
The Second central moment of the phenotype variable
sum(subset==TRUE) - 1
The object produced by make.regressor.matrix
A vector of phenotype information with the same number of
elements as there are rows in regressor.matrix
Logical vector with the same number of
elements as there are rows in regressor.matrix to indicate
which rows to keep.
Optional vector of case weights.
Charles C. Berry cberry@ucsd.edu