Learn R Programming

qtlmt (version 0.1-6)

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 'object' xeff(a,xid)

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

Arguments

gmap

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.

v

a list; v[[j]] indicates which x's in the model for y[,j].

mpos

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.

k

which chromosome?

a

covariate effects of an mtcmim object.

xid

a list of length p, xid[[j]] specifies columns of x as covariates for y[,j] .

object

an mtcmim object.

See Also

mtcmim and sureEst.