scan.via.dglm
should not typically be called by a user.
This function is used by both scanonevar
and scanonevar.perm
.
This function is not typically necessary for a typical user.
1 2 3 4 
mean.alt.formula 
The formula for the trait mean in the alternative model.

var.alt.formula 
The formula for the trait variance in the alternative model.

genoprobs 
The probability of each genotype for each individual. 
mapping.df 
The tbl_df with the response, all covariates, and space for the focal genotype. 
chr.by.marker 
a vector of the chromosome name of each marker 
pos.by.marker 
a vector of the position of each marker 
marker.names 
a vector of the name of each marker 
return.effects 
Logical indicating whether the estimated effects should be returned. 
return.effect.ses 
Logical indicating whether the standard errors of the estimated effects should be returned. 
return.effect.ps 
Logical indicating whether the pvalue of the estimated effects should be returned. 
cor.threshold 
Numeric between 0 and 1 indicating how tightly a locus must be correlated with a covariate to be skipped.
e.g. if cor.threshold is 0.8 (it's default) any locus with 
perm 
The permutation to apply to the genotypes. Defaults to identity permutation. 
family 
Family of distribution to be modeled. Defaults to 'gaussian'. See dglm and glm documentation for other options. Most notable other options is 'poisson' 
none
Returns a scanonevar object.
Robert Corty rcorty@gmail.com
scanonevar
, scanonevar.perm
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.