Learn R Programming

QTLRel (version 1.14)

blup: Best Linear Unbiased Prediction

Description

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

Usage

blup(object)

Value

fixed

BLUP for fixed effects.

R, etc.

BLUP for random effects.

Arguments

object

An object from estVC or aicVC.

See Also

estVC and aicVC.

Examples

Run this code
data(miscEx)

if (FALSE) {
# only consider additive genetic variance component
pheno<- pdatF8[!is.na(pdatF8$bwt) & !is.na(pdatF8$sex),]
ii<- match(rownames(pheno), rownames(gmF8$AA))
v<- list(A=gmF8$AA[ii,ii],D=gmF8$DD[ii,ii])
vc<- estVC(y=pheno$bwt, x=pheno$sex, v=v)
b<- blup(vc)
}

Run the code above in your browser using DataLab