MtkCalc {GeneticSubsetter} | R Documentation |
MTK calculator (Depreciated)
Description
***This function has been superseded by MTK.
Usage
MtkCalc(genos, subset, power = 10)
Arguments
genos |
A matrix of genotypes, that includes all genotypes that should be used to create the kinship matrix, where each column is one individual, each row is one marker, and marker values are 1, 0, or -1, where 0 represents missing data. All data in this matrix must be numeric. |
subset |
A vector of genotype names for which to calculate MTK. |
power |
The transformation that should be made to the kinship matrix. If power=1, the kinship matrix is not transformed, if power=2, the kinship matrix is squared, etc. When the power is higher, this function preferentially eliminates genotypes that are closely related to other specific genotypes. |
Value
The MTK of the specified subset.
Author(s)
Ryan C. Graebner
Examples
data(genotypes)
MtkCalc(genotypes,subset=colnames(genotypes[1:5]))
[Package GeneticSubsetter version 0.8 Index]