make.regressor.matrix {bqtl} | R Documentation |
Create regressors using expected marker values
Description
Create regression variables for markers and loci between or near markers by imputation conditional on known marker states.
Usage
make.regressor.matrix(state.matrix, mode.mat=NULL)
Arguments
state.matrix |
A state.matrix.object - see |
mode.mat |
A matrix which indicates the values of regressor variables corresponding to the allele states. If mode.mat=NULL (the default) a mode.mat is inferred from the dimensions of state.matrix. For the F2 intercross these are typically additive and dominance codes like (-1,0,1) and (1,-1,1). For BC1 backcross and RI lines, typically the values are (-1,1). |
Value
A matrix with variables suitable for use as regressors.
References
Haley C.S. and Knott S.A. (1992) A simple regression method for mapping quantitative trait loci in line crosses using flanking markers. Heredity 69,315-324.