kin.data: Get kinship matrix

Description Usage Arguments Value Author(s) See Also

Description

This function calculates the kinship matrix from a pedigree file.

Usage

1
kin.data(ntype, Ped)

Arguments

ntype

Vector of integers. Its length equals to the total number of families used in the pedigree file. The ntype's entries are the total number of subjects within each family.

Ped

Pedigree file with the first 5 columns should be in the following order: family IDs, subject IDs, father IDs, mother IDs and sex. If there are covariates in the model, they should be introduced after the five standard columns in the pedigree file followed by the quantitative traits.

Value

The kinship matrix as a list with length the total number of families. Eeach object of the list represents a family kinship matrix.

Author(s)

Karim Oualkacha

See Also

Family.sizes


KarimOualkacha/PCH4Pedigees documentation built on May 20, 2019, 8:30 a.m.