Description Usage Arguments Details Value Examples
Decompose variance into genetic part and a random noise
1 | variance.decomposition(y, covar, G, package = c("regress", "QTLRel"), ...)
|
y |
a vector with phenotype |
covar |
a matrix with covariates |
G |
genetic similarity matrix |
package |
package to do variant component calculations |
Currently, regress
function is much faster than QTLRel::estVC
.
4-elements list
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.