makefamid: Construct a family id from pedigree information

View source: R/makefamid.R

makefamidR Documentation

Construct a family id from pedigree information

Description

Create a vector of length n, giving the family "tree" number of each subject. If the pedigree is totally connected, then everyone will end up in tree 1, otherwise the tree numbers represent the disconnected subfamilies. Singleton subjects give a zero for family number.

Usage

makefamid(id, father.id, mother.id)

Arguments

id

Identifier for each subject in the set of pedigrees

father.id

Identifier for the father. This will be 0 or "" for a founder.

mother.id

Identifer for the mother.

Details

This command is depricated. The kinship command now can be applied directly to pedigreeList objects.

Value

An integer vector giving family groupings

Author(s)

Terry Therneau

See Also

makekinship


kinship2 documentation built on May 29, 2024, 11:14 a.m.