CalcRped {sequoia} | R Documentation |
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")
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. |
Value
A matrix or dataframe.
[Package sequoia version 2.11.2 Index]