CalcRped: Calculate Pedigree Relatedness
Description
Morph pedigree into a kinship2 compatible format and use
kinship
to calculate kinship coefficients;
relatedness = 2*kinship.
Usage
CalcRped(Pedigree, OUT = "DF")
Value
A matrix or dataframe.
Arguments
- Pedigree
dataframe with columns id-dam-sire.
- OUT
desired output format, 'M' for matrix or 'DF' for dataframe with
columns IID1 - IID2 - R.ped.