fit: Fit a full model including all QTL and effects from base...

Description Usage Arguments Value See Also Examples

View source: R/fit.mpqtl.R

Description

Given the output from a scan of chromosomes with significant genetic variation, fits a full mixed model containing all effects in base model and all QTL effects.

Usage

1
2
3
fit (object, ...) 
## S3 method for class 'mpqtl'
 fit(object, ...)

Arguments

object

Object of class mpqtl

...

Additional arguments to be used in asreml

Value

An asreml model and summary table of QTL effects, p-values and Wald statistics from fitting the full model.

See Also

mpIM, summary.mpqtl

Examples

1
2
3
4
5
6
sim.map <- sim.map(len=rep(100, 2), n.mar=11, include.x=FALSE, eq.spacing=TRUE)
sim.ped <- sim.mpped(4, 1, 500, 6, 1)
sim.dat <- sim.mpcross(map=sim.map, pedigree=sim.ped, qtl=matrix(data=c(1, 10, .4, 0, 0, 0, 1, 70, 0, .35, 0, 0), nrow=2, ncol=6, byrow=TRUE), seed=1)
mpp.dat <- mpprob(sim.dat, program="qtl", step=2)
mpq.dat <- mpIM(object=mpp.dat, ncov=0, responsename="pheno")
fit(mpq.dat)

mpMap documentation built on May 29, 2017, 2:50 p.m.