Functions that may be useful.
# create 'mpos' and 'dists'
gv2mpos(gmap,v)# extract 'xid' on chromosome 'k'
xid1ch(mpos,v,k)
# extract covariate effects of a mtcmim object 'object'
xeff(a,xid)
# extract QTL effect from a mtcmim object 'object'
qeff(object)
a genetic map, which is a data frame (chr=chromosome id, dist=genetic distance (cM) on the chromosome,...). The chromosome id should be an integer.
a list; v[[j]] indicates which x's in the model for y[,j].
a data frame (id=marker index, ch=chromosome id, m=marker index on the chromosome, dist=genetic position in cM on the chromosome). Chromosome id should be an integer.
which chromosome?
covariate effects of an mtcmim
object.
a list of length p, xid[[j]] specifies columns of x as covariates for y[,j] .
an mtcmim
object.