varComp: varComp

Description Usage Arguments Value Examples

View source: R/varComp.R

Description

varComp function will estimate variance components

Usage

1
varComp(Y, K, numThreads, outPath, outName)

Arguments

Y

is the phenotype matrix, phenotypes x individual

K

is obtained from the Kinship function

numThreads

Number of parallel processes

outPath

is a parameter that specifies the path of the result file

outName

is a parameter that specifies the name of the result file

Value

Variance components Vg: genetic factor Ve: environment factor

Examples

1
2
3
4
   Y <- as.matrix(read.table(GeneExpressionData))
   K <- Kinship(X, outPath, outName)

   VC <- varComp(Y, K, numThreads, outPath, outName)

2eding/MTVR documentation built on Sept. 3, 2020, 11:51 a.m.