variance.decomposition: Decompose variance into genetic part and a random noise

Description Usage Arguments Details Value Examples

Description

Decompose variance into genetic part and a random noise

Usage

1
variance.decomposition(y, covar, G, package = c("regress", "QTLRel"), ...)

Arguments

y

a vector with phenotype

covar

a matrix with covariates

G

genetic similarity matrix

package

package to do variant component calculations

Details

Currently, regress function is much faster than QTLRel::estVC.

Value

4-elements list

Examples

1
2
3
4
5
6
data(fake.f2, package="qtl")
fake.f2 <- calc.genoprob(fake.f2)

geno <- extract.geno(fake.f2)
G <- gensim.matrix(geno)
variance.decomposition(fake.f2$pheno[,1], NULL, G)

simecek/HPQTL documentation built on May 29, 2019, 10 p.m.