grm2kinship {hierfstat} | R Documentation |
Converts a Genetic Relationship Matrix (GRM) to a kinship matrix
Description
Converts a Genetic Relationship Matrix (GRM) to a kinship matrix
Usage
grm2kinship(x)
Arguments
x |
a square (GRM) matrix |
Details
k[ii]=x[ii]-1; k[ij]=x[ij]/2
Value
a kinship matrix
Author(s)
Jerome Goudet jerome.goudet@unil.ch
[Package hierfstat version 0.5-11 Index]