Internal function for fitting abf

abf.speedglm.fit(x, y, q, family, snps, parallel.dir = NULL,
  verbose = FALSE)

Arguments

x

design matrix

y

response vector

q

matrix of covariates

family

glm family

snps

list of snps models

parallel.dir

optional directory used for manual parallelisation

verbose

if TRUE, print progress. Default is FALSE

Value

a list of bics and coeffs, or number of models to be fit if parallel.dir is not NULL