Learn R Programming

QTLRel (version 0.2-10)

blup: Best Linear Unbiased Prediction

Description

Estimate the best linear unbiased prediction (BLUP) for various effects in the model.

Usage

blup(object)

Arguments

object
an object from estVC or aicVC.

Value

  • fixedBLUP for fixed effects.
  • AA,DD,...BLUP for random (genetic) variance components "AA", "DD", ...
  • EEBLUP for residual effect.

See Also

estVC and aicVC.

Examples

Run this code
data(miscEx)

# only consider additive genetic variance component
o<- estVC(y=pdatF8$bwt, x=pdatF8$sex, v=list(AA=gmF8$AA,DD=gmF8$DD,
	HH=NULL, AD=NULL, MH=NULL, EE=diag(length(pdatF8$bwt))))
b<- blup(o)

Run the code above in your browser using DataLab