Create a moment matrix of the marker variables and of the regressors by the phenotype variable. For use in regression modelling on the markers.
varcov(x, ana.obj, partial=NULL, scope,...)
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
The degrees of freedom, when no variables are specified in
partial
it is sum(subset==TRUE) - 1
A formula to specify the dependent and independent variables
to be used in subsequent calculations e.g trait ~ locus(.)
An analysis.object
,
seemake.analysis.obj
A formula whose right hand side specifies variables to be treated as covariates.
Usually not explicitly used. Optional vector of variable names.
ignored
Charles C. Berry cberry@ucsd.edu
This is just a wrapper for make.varcov
.
The examples in swap
and twohk
.