Added fit1() for fitting a single-QTL model at a single fixed location. Returns LOD score, estimated coefficients (and SEs, if se=TRUE), and individual contributions to the LOD score. Added specifically for the individual contributions to the LOD score, as @byandell wanted that for some causal tests he's developing.
Also added nullcovar argument to scan1coef and scan1blup – special additive covariates only included under the null hypothesis of no QTL. Only needed for the X chromosome and if kinship is provided but hsq is not. Need them in order to derive the estimate of the residual heritability.
Added
fit1()
for fitting a single-QTL model at a single fixed location. Returns LOD score, estimated coefficients (and SEs, ifse=TRUE
), and individual contributions to the LOD score. Added specifically for the individual contributions to the LOD score, as @byandell wanted that for some causal tests he's developing.Also added
nullcovar
argument toscan1coef
andscan1blup
– special additive covariates only included under the null hypothesis of no QTL. Only needed for the X chromosome and ifkinship
is provided buthsq
is not. Need them in order to derive the estimate of the residual heritability.