grm2kinship: Converts a Genetic Relationship Matrix (GRM) to a kinship...

Description Usage Arguments Details Value Author(s)

View source: R/ksGRM.R

Description

Converts a Genetic Relationship Matrix (GRM) to a kinship matrix

Usage

1

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


hierfstat documentation built on Nov. 17, 2021, 5:08 p.m.