Learn R Programming

qtlmt (version 0.1-1)

misFct: Miscellaneous functions

Description

Functions that may be useful.

Usage

# create 'mpos' and 'dists'
gv2mpos(gmap,v)

# extract 'xid' on chromosome 'k'
xid1ch(mpos,v,k)

# extract covariate effects of a mtcmim object 'obj'
xeff(a,xid)

# extract QTL effect from a mtcmim object 'obj'
qeff(obj)

Arguments

gmap
genetic map, a data frame (chr=chromosome id, dist=genetic distance (cM) on the chromosome,...). The chromosome id should be an integer.
v
list; v[[j]] indicates which x's in the model for y[,j].
mpos
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.
k
which chromosome?
a
covariate effects of an mtcmim object.
xid
list of length p, xid[[j]] specifies columns of x as covariates for y[,j] .
obj
an mtcmim object.

See Also

mtcmim and sureEst.